Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001854/0.001854, allocations: 192 kB / 7.804 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.2 MB / 213.4 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000969/0.000969, allocations: 91.75 kB / 261.4 MB, free: 13.53 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2239/0.2239, allocations: 43.5 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2422/0.4661, allocations: 64.97 MB / 417.8 MB, free: 40.47 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.8652, allocations: 58.84 MB / 476.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1674/1.033, allocations: 112.4 MB / 0.5752 GB, free: 2.484 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/1.033, allocations: 83.45 kB / 0.5753 GB, free: 2.406 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3927 * Number of variables: 3927 Notification: Performance of Generate backend data structure: time 1.93/2.963, allocations: 476.2 MB / 1.04 GB, free: 32.95 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/2.963, allocations: 9.812 kB / 1.04 GB, free: 32.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05009/3.013, allocations: 7.719 MB / 1.048 GB, free: 32.13 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03124/3.045, allocations: 8.872 MB / 1.057 GB, free: 30.99 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001511/3.046, allocations: 474.3 kB / 1.057 GB, free: 30.99 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008859/3.055, allocations: 0.7714 MB / 1.058 GB, free: 30.99 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05272/3.108, allocations: 20.4 MB / 1.078 GB, free: 30.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08035/3.188, allocations: 22.72 MB / 1.1 GB, free: 29.35 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008594/3.189, allocations: 22.14 kB / 1.1 GB, free: 29.34 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008181/3.197, allocations: 11.47 kB / 1.1 GB, free: 29.34 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001587/3.199, allocations: 0.9568 MB / 1.101 GB, free: 29.31 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.203/3.402, allocations: 77.05 MB / 1.176 GB, free: 5.285 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04646/3.449, allocations: 15.77 MB / 1.191 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.6416/4.09, allocations: 11.95 MB / 1.203 GB, free: 103.9 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1022/4.192, allocations: 39.62 MB / 1.242 GB, free: 101.4 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001837/4.193, allocations: 138.7 kB / 1.242 GB, free: 101.4 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=1215): time 3.344e-05/4.193, allocations: 0 / 1.242 GB, free: 101.4 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1215): time 0.06411/4.257, allocations: 23.43 MB / 1.265 GB, free: 101 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/4.257, allocations: 175.3 kB / 1.265 GB, free: 100.9 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007206/4.264, allocations: 2.652 MB / 1.268 GB, free: 100.7 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.004215/4.269, allocations: 28.42 kB / 1.268 GB, free: 100.7 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.003513/4.272, allocations: 3.957 MB / 1.271 GB, free: 98.83 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.009495/4.282, allocations: 3.811 MB / 1.275 GB, free: 96.25 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002341/4.284, allocations: 2.562 kB / 1.275 GB, free: 96.25 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.001445/4.285, allocations: 0.7626 MB / 1.276 GB, free: 95.92 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01582/4.301, allocations: 8.374 MB / 1.284 GB, free: 95.89 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0177/4.319, allocations: 9.828 MB / 1.294 GB, free: 92.11 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02096/4.34, allocations: 10.04 MB / 1.304 GB, free: 88.41 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001322/4.34, allocations: 10.06 kB / 1.304 GB, free: 88.41 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1387) (initialization): time 0.06811/4.408, allocations: 24.65 MB / 1.328 GB, free: 79.36 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 3.703e-05/4.409, allocations: 9.484 kB / 1.328 GB, free: 79.36 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002213/4.409, allocations: 41.91 kB / 1.328 GB, free: 79.36 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02645/4.435, allocations: 10.28 MB / 1.338 GB, free: 76.34 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00858/4.444, allocations: 1.384 MB / 1.339 GB, free: 76.3 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04197/4.486, allocations: 21.15 MB / 1.36 GB, free: 59.8 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009936/4.496, allocations: 0.8476 MB / 1.361 GB, free: 59.04 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004804/4.501, allocations: 392.8 kB / 1.361 GB, free: 58.7 MB / 0.5262 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: variableImpedance.variableImpedance[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] impedance.impedance[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] variableImpedance.v[2].re:VARIABLE(unit = "V" ) "Imaginary part of complex voltage" type: Real [3] variableImpedance.i[3].im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] variableImpedance.i[2].re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] variableImpedance.i[1].re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] variableImpedance.i[2].im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] variableImpedance.i[3].re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] variableImpedance.i[1].im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] variableImpedance.variableImpedance[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] impedance.impedance[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] variableImpedance.v[3].re:VARIABLE(unit = "V" ) "Imaginary part of complex voltage" type: Real [3] impedance.plugToPins_p.plugToPin_p[3].plug_p.pin[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3,3] impedance.plugToPins_p.plugToPin_p[3].plug_p.pin[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3,3] impedance.plugToPins_p.plugToPin_p[2].plug_p.pin[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3,3] impedance.plugToPins_p.plugToPin_p[2].plug_p.pin[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3,3] impedance.plugToPins_p.plugToPin_p[2].plug_p.pin[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3,3] impedance.plugToPins_p.plugToPin_p[2].plug_p.pin[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3,3] variableImpedance.variableImpedance[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] impedance.impedance[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] variableImpedance.v[1].re:VARIABLE(unit = "V" ) "Imaginary part of complex voltage" type: Real [3] admittance.admittance[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] variableAdmittance.v[3].re:VARIABLE(unit = "V" ) "Imaginary part of complex voltage" type: Real [3] admittance.admittance[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] admittance.v[2].im:VARIABLE(unit = "V" ) "Real part of complex voltage" type: Real [3] admittance.admittance[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] variableAdmittance.v[1].im:VARIABLE(unit = "V" ) "Real part of complex voltage" type: Real [3] idealIntermediateSwitch.plugToPins_n1.pin_n[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] idealIntermediateSwitch.plugToPins_n1.pin_n[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] idealIntermediateSwitch.idealIntermediateSwitch[3].s4.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealIntermediateSwitch.idealIntermediateSwitch[3].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealIntermediateSwitch.idealIntermediateSwitch[3].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealIntermediateSwitch.idealIntermediateSwitch[3].s4.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealIntermediateSwitch.plugToPins_p2.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] idealIntermediateSwitch.idealIntermediateSwitch[3].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealCommutingSwitch.idealCommutingSwitch[3].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealCommutingSwitch.idealCommutingSwitch[3].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealOpeningSwitch.idealOpeningSwitch[2].s.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealCommutingSwitch.idealCommutingSwitch[2].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealIntermediateSwitch.plugToPins_p1.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] idealIntermediateSwitch.idealIntermediateSwitch[1].s3.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealIntermediateSwitch.plugToPins_n2.pin_n[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] idealIntermediateSwitch.idealIntermediateSwitch[2].s3.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealIntermediateSwitch.idealIntermediateSwitch[2].s4.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealIntermediateSwitch.idealIntermediateSwitch[2].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealIntermediateSwitch.idealIntermediateSwitch[2].s3.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealIntermediateSwitch.idealIntermediateSwitch[2].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealIntermediateSwitch.plugToPins_p1.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] idealIntermediateSwitch.plugToPins_p1.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] idealIntermediateSwitch.idealIntermediateSwitch[3].s3.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealIntermediateSwitch.plugToPins_n2.pin_n[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] idealIntermediateSwitch.idealIntermediateSwitch[3].s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealIntermediateSwitch.idealIntermediateSwitch[3].s3.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealIntermediateSwitch.plugToPins_n2.pin_n[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] idealIntermediateSwitch.idealIntermediateSwitch[2].s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealIntermediateSwitch.plugToPins_n2.pin_n[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] idealIntermediateSwitch.idealIntermediateSwitch[1].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealIntermediateSwitch.idealIntermediateSwitch[1].s3.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealIntermediateSwitch.idealIntermediateSwitch[1].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealIntermediateSwitch.idealIntermediateSwitch[1].s4.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealIntermediateSwitch.plugToPins_p2.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] idealIntermediateSwitch.plugToPins_p2.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] idealIntermediateSwitch.plugToPins_p2.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] idealIntermediateSwitch.plugToPins_p2.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] idealIntermediateSwitch.plugToPins_p2.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] idealCommutingSwitch.idealCommutingSwitch[1].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealIntermediateSwitch.plugToPins_n1.pin_n[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] idealIntermediateSwitch.idealIntermediateSwitch[2].s4.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealCommutingSwitch.idealCommutingSwitch[2].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealCommutingSwitch.idealCommutingSwitch[2].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealIntermediateSwitch.idealIntermediateSwitch[2].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealIntermediateSwitch.plugToPins_n1.pin_n[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] idealIntermediateSwitch.plugToPins_n1.pin_n[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] idealIntermediateSwitch.idealIntermediateSwitch[1].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealIntermediateSwitch.idealIntermediateSwitch[1].s4.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealIntermediateSwitch.plugToPins_n1.pin_n[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] idealIntermediateSwitch.plugToPins_p1.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] idealIntermediateSwitch.plugToPins_p1.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] idealIntermediateSwitch.plugToPins_p1.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] idealCommutingSwitch.idealCommutingSwitch[3].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealClosingSwitch.idealClosingSwitch[2].s.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealCommutingSwitch.idealCommutingSwitch[1].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealCommutingSwitch.idealCommutingSwitch[3].s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealCommutingSwitch.idealCommutingSwitch[1].s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealClosingSwitch.idealClosingSwitch[1].s.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealCommutingSwitch.idealCommutingSwitch[1].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealIntermediateSwitch.idealIntermediateSwitch[1].s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealIntermediateSwitch.plugToPins_n2.pin_n[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] idealIntermediateSwitch.plugToPins_n2.pin_n[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] idealClosingSwitch.idealClosingSwitch[1].s.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealOpeningSwitch.idealOpeningSwitch[1].s.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealClosingSwitch.idealClosingSwitch[3].s.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealOpeningSwitch.idealOpeningSwitch[3].s.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealOpeningSwitch.idealOpeningSwitch[1].s.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealClosingSwitch.idealClosingSwitch[3].s.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealOpeningSwitch.idealOpeningSwitch[3].s.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealOpeningSwitch.idealOpeningSwitch[2].s.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealClosingSwitch.idealClosingSwitch[2].s.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealCommutingSwitch.idealCommutingSwitch[2].s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: short.short[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] short.short[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] short.short[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] short.short[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] short.short[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] short.short[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: output I[2].im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] output I[3].re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] output I[1].im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] output I[1].re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] output I[3].im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] output I[2].re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: star.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (722): * Single equations (assignments): 655 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 63 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,99 312} Notification: Performance of prepare postOptimizeDAE: time 0.008925/4.51, allocations: 0.6063 MB / 1.362 GB, free: 58.37 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004557/4.514, allocations: 0.5893 MB / 1.362 GB, free: 57.78 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06896/4.583, allocations: 25.53 MB / 1.387 GB, free: 36.31 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007334/4.584, allocations: 331.2 kB / 1.387 GB, free: 36.03 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.61e-05/4.584, allocations: 0 / 1.387 GB, free: 36.03 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003551/4.585, allocations: 48.89 kB / 1.387 GB, free: 36.03 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3786/4.963, allocations: 43.1 MB / 1.429 GB, free: 93.39 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001712/4.963, allocations: 3.469 kB / 1.429 GB, free: 93.39 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007365/4.971, allocations: 1.11 MB / 1.431 GB, free: 93.39 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02221/4.993, allocations: 10.21 MB / 1.441 GB, free: 93.03 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003064/4.996, allocations: 132 kB / 1.441 GB, free: 93.03 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03001/5.026, allocations: 21.12 MB / 1.461 GB, free: 90.79 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/5.026, allocations: 1.219 kB / 1.461 GB, free: 90.79 MB / 0.5262 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07784/5.104, allocations: 37.99 MB / 1.498 GB, free: 90.12 MB / 0.5262 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1018/5.206, allocations: 52.22 MB / 1.549 GB, free: 75.82 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008771/5.215, allocations: 2.724 MB / 1.552 GB, free: 74.59 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004023/5.219, allocations: 7.688 kB / 1.552 GB, free: 74.59 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008541/5.227, allocations: 315.6 kB / 1.552 GB, free: 74.59 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004455/5.232, allocations: 0.8665 MB / 1.553 GB, free: 74.41 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002723/5.235, allocations: 315.9 kB / 1.553 GB, free: 74.33 MB / 0.5262 GB Notification: Performance of sort global known variables: time 0.003178/5.238, allocations: 1.986 MB / 1.555 GB, free: 73.6 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01845/5.256, allocations: 3.227 MB / 1.559 GB, free: 73.19 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealClosingSwitch.idealClosingSwitch[1].pin_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (592): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 63 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,99 312} Notification: Performance of Backend phase and start with SimCode phase: time 0.003678/5.26, allocations: 203.1 kB / 1.559 GB, free: 73.11 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.04216/5.302, allocations: 20.68 MB / 1.579 GB, free: 61.08 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/5.302, allocations: 0 / 1.579 GB, free: 61.08 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.02538/5.328, allocations: 11.38 MB / 1.59 GB, free: 51.18 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009679/5.337, allocations: 0.9135 MB / 1.591 GB, free: 50.52 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0781/5.416, allocations: 29.09 MB / 1.619 GB, free: 25.05 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02814/5.444, allocations: 10.17 MB / 1.629 GB, free: 17.4 MB / 0.5262 GB Notification: Performance of SimCode: time 1.853e-06/5.444, allocations: 0 / 1.629 GB, free: 17.4 MB / 0.5262 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal.fmu > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat does not exist to compare? outputFormat=mat