Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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: 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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002119/0.002119, allocations: 179.4 kB / 8.364 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.021/2.021, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001076, allocations: 90.97 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2912/0.2912, allocations: 43.49 MB / 353.6 MB, free: 2.285 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.98e-05/1.989e-05, allocations: 224 / 418.2 MB, free: 41.06 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4774/0.4775, allocations: 58.86 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2687/0.7462, allocations: 112.5 MB / 0.5757 GB, free: 2.82 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003986/0.7467, allocations: 83.94 kB / 0.5758 GB, free: 2.738 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.628/3.375, allocations: 463.9 MB / 1.029 GB, free: 52.91 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.765e-06/3.375, allocations: 4 kB / 1.029 GB, free: 52.91 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.001541/3.377, allocations: 302.1 kB / 1.029 GB, free: 52.88 MB / 0.5108 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.07724/3.454, allocations: 13.5 MB / 1.042 GB, free: 49.25 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/3.454, allocations: 15.28 kB / 1.042 GB, free: 49.25 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06713/3.521, allocations: 8.503 MB / 1.051 GB, free: 48.48 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03224/3.553, allocations: 8.828 MB / 1.059 GB, free: 47.34 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001463/3.555, allocations: 476.4 kB / 1.06 GB, free: 47.34 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007224/3.562, allocations: 0.7705 MB / 1.06 GB, free: 47.34 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05481/3.617, allocations: 19.91 MB / 1.08 GB, free: 47.28 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07257/3.69, allocations: 22.29 MB / 1.102 GB, free: 45.7 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008353/3.691, allocations: 16.62 kB / 1.102 GB, free: 45.7 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006124/3.697, allocations: 8.188 kB / 1.102 GB, free: 45.7 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001467/3.698, allocations: 0.9337 MB / 1.103 GB, free: 45.67 MB / 0.5108 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2019/3.9, allocations: 74.44 MB / 1.175 GB, free: 7.562 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04566/3.946, allocations: 20.66 MB / 1.195 GB, free: 5.023 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.4625/4.408, allocations: 12.41 MB / 1.208 GB, free: 65.97 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1171/4.526, allocations: 37.64 MB / 1.244 GB, free: 64.48 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001486/4.526, allocations: 133.6 kB / 1.244 GB, free: 64.44 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=1188): time 1.756e-05/4.526, allocations: 0 / 1.244 GB, free: 64.44 MB / 0.5265 GB Notification: Performance of matching and sorting (n=1188): time 0.0847/4.611, allocations: 23.35 MB / 1.267 GB, free: 63.98 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/4.611, allocations: 174.5 kB / 1.267 GB, free: 63.88 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006906/4.618, allocations: 2.583 MB / 1.27 GB, free: 63.64 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.002869/4.621, allocations: 25.7 kB / 1.27 GB, free: 63.61 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.003275/4.624, allocations: 4.335 MB / 1.274 GB, free: 61.77 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.00696/4.631, allocations: 3.732 MB / 1.278 GB, free: 59.25 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002868/4.634, allocations: 3.344 kB / 1.278 GB, free: 59.25 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.001425/4.635, allocations: 0.7578 MB / 1.279 GB, free: 58.91 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0195/4.655, allocations: 7.934 MB / 1.286 GB, free: 57.48 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02185/4.677, allocations: 9.377 MB / 1.296 GB, free: 52.88 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03121/4.708, allocations: 10.89 MB / 1.306 GB, free: 48.97 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001004/4.708, allocations: 8.906 kB / 1.306 GB, free: 48.97 MB / 0.5265 GB Notification: Performance of matching and sorting (n=1360) (initialization): time 0.0759/4.784, allocations: 24.57 MB / 1.33 GB, free: 39.84 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 6.21e-05/4.784, allocations: 18.94 kB / 1.33 GB, free: 39.84 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001338/4.784, allocations: 36.91 kB / 1.33 GB, free: 39.84 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04303/4.827, allocations: 10.13 MB / 1.34 GB, free: 36.09 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01534/4.843, allocations: 1.399 MB / 1.341 GB, free: 35.05 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04815/4.891, allocations: 20.32 MB / 1.361 GB, free: 17.14 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01209/4.903, allocations: 0.9759 MB / 1.362 GB, free: 16.34 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003649/4.907, allocations: 387.7 kB / 1.363 GB, free: 16 MB / 0.5265 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.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] variableImpedance.v[2].im:VARIABLE(unit = "V" ) "Real part of complex voltage" type: Real [3] variableImpedance.i[3].re:VARIABLE(unit = "A" ) "Real 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[3].im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] variableImpedance.i[2].im:VARIABLE(unit = "A" ) "Imaginary 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.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] impedance.impedance[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] variableImpedance.v[3].im:VARIABLE(unit = "V" ) "Real 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[3].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[3].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[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.im:VARIABLE(unit = "A" ) "Imaginary 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[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] variableAdmittance.v[2].im:VARIABLE(unit = "V" ) "Real 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[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] admittance.v[1].im:VARIABLE(unit = "V" ) "Real part of complex voltage" 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.plugToPins_n1.pin_n[2].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] idealIntermediateSwitch.idealIntermediateSwitch[2].s1.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.re:VARIABLE(unit = "1" protected = true ) "Real 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] 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.idealIntermediateSwitch[2].s3.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] idealOpeningSwitch.idealOpeningSwitch[1].s.im:VARIABLE(unit = "1" protected = true ) "Imaginary 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] idealOpeningSwitch.idealOpeningSwitch[3].s.im:VARIABLE(unit = "1" protected = true ) "Imaginary 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].s3.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].s1.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] 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] idealIntermediateSwitch.idealIntermediateSwitch[3].s2.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] idealCommutingSwitch.idealCommutingSwitch[3].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" 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.plugToPins_p1.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] idealClosingSwitch.idealClosingSwitch[3].s.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] idealIntermediateSwitch.idealIntermediateSwitch[3].s4.re:VARIABLE(unit = "1" protected = true ) "Real 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.plugToPins_p2.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" 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[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.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealIntermediateSwitch.plugToPins_n2.pin_n[3].i.re:VARIABLE(flow=true unit = "A" ) "Real 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].s3.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealIntermediateSwitch.idealIntermediateSwitch[1].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" 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.idealIntermediateSwitch[1].s1.re:VARIABLE(unit = "1" protected = true ) "Real 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.idealIntermediateSwitch[1].s4.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" 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.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" 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.plugToPins_n1.pin_n[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] idealIntermediateSwitch.idealIntermediateSwitch[3].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" 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.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealIntermediateSwitch.idealIntermediateSwitch[2].s4.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] idealCommutingSwitch.idealCommutingSwitch[3].s1.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.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[2].i.im:VARIABLE(flow=true 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.plugToPins_n2.pin_n[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" 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.plugToPins_n2.pin_n[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] idealCommutingSwitch.idealCommutingSwitch[1].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary 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] idealCommutingSwitch.idealCommutingSwitch[2].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" 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] idealCommutingSwitch.idealCommutingSwitch[1].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary 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[2].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] idealOpeningSwitch.idealOpeningSwitch[3].s.re:VARIABLE(unit = "1" protected = true ) "Real 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] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: short.short[1].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[3].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[2].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].re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] output I[3].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[1].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[2].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: 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[3].i.re:VARIABLE(flow=true unit = "A" ) "Real 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.im:VARIABLE(flow=true unit = "A" ) "Imaginary 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 (695): * Single equations (assignments): 628 * 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.006987/4.914, allocations: 0.6258 MB / 1.363 GB, free: 15.66 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004283/4.918, allocations: 0.5784 MB / 1.364 GB, free: 15.08 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08606/5.004, allocations: 25.54 MB / 1.389 GB, free: 11.21 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006516/5.005, allocations: 326.7 kB / 1.389 GB, free: 10.93 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-05/5.005, allocations: 0 / 1.389 GB, free: 10.93 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002331/5.005, allocations: 49.42 kB / 1.389 GB, free: 10.93 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6351/5.64, allocations: 43.02 MB / 1.431 GB, free: 80.41 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001512/5.641, allocations: 0 / 1.431 GB, free: 80.41 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01032/5.651, allocations: 1.137 MB / 1.432 GB, free: 80.41 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03242/5.683, allocations: 10.08 MB / 1.442 GB, free: 80.05 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003156/5.687, allocations: 129.5 kB / 1.442 GB, free: 80.05 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04328/5.73, allocations: 20.33 MB / 1.462 GB, free: 77.8 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/5.73, allocations: 0 / 1.462 GB, free: 77.8 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1225/5.852, allocations: 37.04 MB / 1.498 GB, free: 71.9 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01148/5.864, allocations: 2.7 MB / 1.501 GB, free: 70.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004314/5.868, allocations: 0 / 1.501 GB, free: 70.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01112/5.88, allocations: 439 kB / 1.501 GB, free: 70.7 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004687/5.884, allocations: 0.8884 MB / 1.502 GB, free: 70.53 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002808/5.887, allocations: 310.5 kB / 1.502 GB, free: 70.45 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.00426/5.891, allocations: 1.934 MB / 1.504 GB, free: 69.72 MB / 0.5421 GB Notification: Performance of sort global known variables: time 6.91e-07/5.891, allocations: 3.594 kB / 1.504 GB, free: 69.72 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.01646/5.908, allocations: 3.201 MB / 1.507 GB, free: 69.32 MB / 0.5421 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 (565): * Single equations (assignments): 498 * 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.003542/5.912, allocations: 217.7 kB / 1.508 GB, free: 69.23 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.05468/5.966, allocations: 19.75 MB / 1.527 GB, free: 60.17 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/5.966, allocations: 0 / 1.527 GB, free: 60.17 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0333/6, allocations: 10.92 MB / 1.538 GB, free: 50.76 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01213/6.012, allocations: 0.9648 MB / 1.539 GB, free: 50.06 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0847/6.097, allocations: 27.89 MB / 1.566 GB, free: 25.68 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02293/6.12, allocations: 9.41 MB / 1.575 GB, free: 18.65 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005505/6.125, allocations: 422.9 kB / 1.575 GB, free: 18.27 MB / 0.5421 GB Notification: Performance of SimCode: time 2.925e-06/6.125, allocations: 0 / 1.575 GB, free: 18.27 MB / 0.5421 GB Notification: Performance of Templates: time 2.173/8.298, allocations: 471 MB / 2.035 GB, free: 105.9 MB / 0.589 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/jenkins1/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