Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002488/0.002488, allocations: 171.9 kB / 8.145 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.778/1.778, allocations: 205.2 MB / 213.8 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001713/0.001713, allocations: 94.44 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2594/0.2594, allocations: 43.5 MB / 353.2 MB, free: 2.016 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.494e-06/7.634e-06, allocations: 0 / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2717, allocations: 58.84 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1927/0.4644, allocations: 112.4 MB / 0.5751 GB, free: 2.629 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/0.4648, allocations: 87.45 kB / 0.5752 GB, free: 2.547 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.227/2.692, allocations: 462.4 MB / 1.027 GB, free: 44.31 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0009945/2.693, allocations: 302.5 kB / 1.027 GB, free: 44.31 MB / 0.5105 GB 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 0.07486/2.768, allocations: 13.52 MB / 1.04 GB, free: 42.32 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/2.768, allocations: 11.41 kB / 1.04 GB, free: 42.32 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07345/2.841, allocations: 7.718 MB / 1.048 GB, free: 41.49 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03402/2.876, allocations: 8.861 MB / 1.056 GB, free: 40.42 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002754/2.878, allocations: 476.1 kB / 1.057 GB, free: 40.42 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009241/2.888, allocations: 0.7755 MB / 1.058 GB, free: 40.41 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06387/2.952, allocations: 20.4 MB / 1.078 GB, free: 40.35 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08205/3.034, allocations: 22.72 MB / 1.1 GB, free: 38.77 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008985/3.035, allocations: 28.27 kB / 1.1 GB, free: 38.76 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00641/3.041, allocations: 13.41 kB / 1.1 GB, free: 38.76 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00139/3.043, allocations: 0.9523 MB / 1.101 GB, free: 38.73 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2398/3.282, allocations: 76.63 MB / 1.176 GB, free: 9.184 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04726/3.33, allocations: 15.43 MB / 1.191 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03418/3.364, allocations: 11.91 MB / 1.202 GB, free: 2.863 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3602/3.724, allocations: 39.97 MB / 1.241 GB, free: 112.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/3.725, allocations: 135.1 kB / 1.241 GB, free: 112.5 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1215): time 1.871e-05/3.725, allocations: 0 / 1.241 GB, free: 112.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1215): time 0.08779/3.812, allocations: 23.44 MB / 1.264 GB, free: 112.1 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001481/3.813, allocations: 176.4 kB / 1.264 GB, free: 112 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01078/3.823, allocations: 2.64 MB / 1.267 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.003867/3.827, allocations: 29.61 kB / 1.267 GB, free: 111.8 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.003345/3.831, allocations: 3.816 MB / 1.271 GB, free: 110.5 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.009277/3.84, allocations: 3.816 MB / 1.275 GB, free: 108 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004194/3.844, allocations: 0 / 1.275 GB, free: 108 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.002236/3.847, allocations: 0.7625 MB / 1.275 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02859/3.875, allocations: 8.375 MB / 1.283 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0252/3.901, allocations: 9.832 MB / 1.293 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02967/3.93, allocations: 10.04 MB / 1.303 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001273/3.93, allocations: 7.438 kB / 1.303 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1387) (initialization): time 0.1078/4.038, allocations: 24.47 MB / 1.327 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/4.038, allocations: 6.656 kB / 1.327 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002066/4.039, allocations: 33.25 kB / 1.327 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05046/4.089, allocations: 10.07 MB / 1.337 GB, free: 100.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01571/4.105, allocations: 1.38 MB / 1.338 GB, free: 100.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07484/4.18, allocations: 22.12 MB / 1.36 GB, free: 90.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01574/4.195, allocations: 0.7782 MB / 1.36 GB, free: 89.89 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005268/4.201, allocations: 394.4 kB / 1.361 GB, free: 89.81 MB / 0.5417 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: admittance.v[3].im:VARIABLE(unit = "V" ) "Real part of complex voltage" type: Real [3] variableAdmittance.v[3].re:VARIABLE(unit = "V" ) "Imaginary part of complex voltage" type: Real [3] admittance.v[2].re:VARIABLE(unit = "V" ) "Imaginary part of complex voltage" type: Real [3] admittance.v[2].im:VARIABLE(unit = "V" ) "Real part of complex voltage" type: Real [3] variableAdmittance.v[1].re:VARIABLE(unit = "V" ) "Imaginary part of complex voltage" 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] variableImpedance.variableImpedance[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] variableImpedance.variableImpedance[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] impedance.impedance[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" 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] variableImpedance.variableImpedance[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] variableImpedance.variableImpedance[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] impedance.impedance[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" 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] variableImpedance.variableImpedance[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] impedance.impedance[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" 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] impedance.impedance[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] impedance.impedance[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" 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] impedance.impedance[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] variableImpedance.variableImpedance[2].i.im:VARIABLE(unit = "A" ) "Imaginary 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,90 309} Notification: Performance of prepare postOptimizeDAE: time 0.009385/4.21, allocations: 499.7 kB / 1.361 GB, free: 89.71 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005932/4.216, allocations: 0.5882 MB / 1.362 GB, free: 89.38 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1205/4.337, allocations: 25.53 MB / 1.387 GB, free: 73.12 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00101/4.338, allocations: 332.3 kB / 1.387 GB, free: 72.84 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.519e-05/4.338, allocations: 0 / 1.387 GB, free: 72.84 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004012/4.338, allocations: 47.34 kB / 1.387 GB, free: 72.84 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.18/4.518, allocations: 43.11 MB / 1.429 GB, free: 36.89 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000217/4.519, allocations: 3.906 kB / 1.429 GB, free: 36.89 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0165/4.535, allocations: 1.118 MB / 1.43 GB, free: 36.04 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04993/4.585, allocations: 10.21 MB / 1.44 GB, free: 27.48 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004171/4.589, allocations: 137 kB / 1.44 GB, free: 27.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05876/4.648, allocations: 21.12 MB / 1.461 GB, free: 8.664 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.166e-06/4.648, allocations: 0 / 1.461 GB, free: 8.664 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.365/5.013, allocations: 38.03 MB / 1.498 GB, free: 110.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01122/5.025, allocations: 2.755 MB / 1.501 GB, free: 110.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004969/5.03, allocations: 0 / 1.501 GB, free: 110.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01166/5.041, allocations: 323.4 kB / 1.501 GB, free: 110.7 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005761/5.047, allocations: 0.8616 MB / 1.502 GB, free: 110.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003836/5.051, allocations: 317.3 kB / 1.502 GB, free: 110.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.005026/5.056, allocations: 1.995 MB / 1.504 GB, free: 110.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01702/5.073, allocations: 3.214 MB / 1.507 GB, free: 110.2 MB / 0.5417 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.003859/5.077, allocations: 207.6 kB / 1.508 GB, free: 110.1 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.06593/5.143, allocations: 20.53 MB / 1.528 GB, free: 109.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/5.143, allocations: 0 / 1.528 GB, free: 109.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0372/5.18, allocations: 11.36 MB / 1.539 GB, free: 109.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01267/5.193, allocations: 0.9112 MB / 1.54 GB, free: 109.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09934/5.292, allocations: 28.61 MB / 1.568 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03113/5.324, allocations: 9.841 MB / 1.577 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of SimCode: time 2.084e-06/5.324, allocations: 0 / 1.577 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of Templates: time 1.166/6.49, allocations: 450.6 MB / 2.017 GB, free: 106.2 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/Ideal/Ideal.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches