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: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002261/0.00226, allocations: 177.8 kB / 8.36 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.136/2.136, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001179/0.001179, allocations: 86.31 kB / 262.1 MB, free: 13.88 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.2991/0.2991, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.286e-05/2.298e-05, allocations: 224 / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4146, allocations: 58.86 MB / 477.2 MB, free: 5.148 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2321/0.6467, allocations: 112.5 MB / 0.5758 GB, free: 2.715 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000339/0.6471, allocations: 83.95 kB / 0.5759 GB, free: 2.633 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.644/3.292, allocations: 463.9 MB / 1.029 GB, free: 53.02 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.983e-06/3.292, allocations: 0 / 1.029 GB, free: 53.02 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.001434/3.293, allocations: 304.2 kB / 1.029 GB, free: 53 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.07754/3.371, allocations: 13.51 MB / 1.042 GB, free: 49.36 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/3.371, allocations: 11.19 kB / 1.042 GB, free: 49.36 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.069/3.44, allocations: 8.502 MB / 1.051 GB, free: 48.59 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03211/3.472, allocations: 8.823 MB / 1.059 GB, free: 47.46 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00154/3.474, allocations: 475.6 kB / 1.06 GB, free: 47.46 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007537/3.481, allocations: 0.7736 MB / 1.061 GB, free: 47.45 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0565/3.538, allocations: 19.91 MB / 1.08 GB, free: 47.39 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07298/3.611, allocations: 22.29 MB / 1.102 GB, free: 45.82 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007359/3.611, allocations: 12.81 kB / 1.102 GB, free: 45.81 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006438/3.618, allocations: 12.59 kB / 1.102 GB, free: 45.81 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001538/3.619, allocations: 0.9274 MB / 1.103 GB, free: 45.79 MB / 0.5108 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2205/3.84, allocations: 74.45 MB / 1.175 GB, free: 7.285 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04788/3.888, allocations: 20.77 MB / 1.196 GB, free: 5.023 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.467/4.355, allocations: 12.4 MB / 1.208 GB, free: 65.94 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1166/4.472, allocations: 37.64 MB / 1.245 GB, free: 64.46 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001501/4.472, allocations: 135.7 kB / 1.245 GB, free: 64.41 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=1188): time 1.809e-05/4.472, allocations: 0 / 1.245 GB, free: 64.41 MB / 0.5265 GB Notification: Performance of matching and sorting (n=1188): time 0.06673/4.539, allocations: 23.36 MB / 1.267 GB, free: 63.95 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/4.539, allocations: 174.3 kB / 1.268 GB, free: 63.85 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006167/4.545, allocations: 2.586 MB / 1.27 GB, free: 63.61 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.002817/4.548, allocations: 25.7 kB / 1.27 GB, free: 63.58 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.003279/4.551, allocations: 4.332 MB / 1.274 GB, free: 61.75 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.007037/4.558, allocations: 3.733 MB / 1.278 GB, free: 59.22 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00287/4.561, allocations: 3.062 kB / 1.278 GB, free: 59.22 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.001421/4.563, allocations: 0.7599 MB / 1.279 GB, free: 58.88 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01906/4.582, allocations: 7.931 MB / 1.287 GB, free: 57.44 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02133/4.603, allocations: 9.382 MB / 1.296 GB, free: 52.84 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03098/4.634, allocations: 10.88 MB / 1.306 GB, free: 48.93 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001027/4.634, allocations: 10.03 kB / 1.306 GB, free: 48.93 MB / 0.5265 GB Notification: Performance of matching and sorting (n=1360) (initialization): time 0.0744/4.709, allocations: 24.57 MB / 1.33 GB, free: 39.8 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 5.795e-05/4.709, allocations: 18.22 kB / 1.33 GB, free: 39.8 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000135/4.709, allocations: 35.69 kB / 1.33 GB, free: 39.8 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03315/4.742, allocations: 10.13 MB / 1.34 GB, free: 36.04 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01181/4.754, allocations: 1.406 MB / 1.342 GB, free: 35 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05201/4.806, allocations: 20.32 MB / 1.362 GB, free: 17.08 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01219/4.818, allocations: 0.9683 MB / 1.362 GB, free: 16.29 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003774/4.822, allocations: 391.3 kB / 1.363 GB, free: 15.94 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.00732/4.829, allocations: 0.6185 MB / 1.363 GB, free: 15.61 MB / 0.5265 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.07376/4.903, allocations: 23.41 MB / 1.386 GB, free: 11.8 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004721/4.908, allocations: 0.5861 MB / 1.387 GB, free: 11.21 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5412/5.449, allocations: 27.04 MB / 1.413 GB, free: 76.26 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0006299/5.45, allocations: 330.4 kB / 1.414 GB, free: 76.26 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.682e-05/5.45, allocations: 4.516 kB / 1.414 GB, free: 76.26 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002211/5.45, allocations: 44.09 kB / 1.414 GB, free: 76.26 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1281/5.578, allocations: 42.29 MB / 1.455 GB, free: 75.43 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001478/5.578, allocations: 5.703 kB / 1.455 GB, free: 75.43 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0102/5.589, allocations: 1.134 MB / 1.456 GB, free: 75.43 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03243/5.621, allocations: 10.08 MB / 1.466 GB, free: 75.06 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003326/5.625, allocations: 128.3 kB / 1.466 GB, free: 75.06 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04592/5.671, allocations: 20.33 MB / 1.486 GB, free: 72.81 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/5.671, allocations: 0 / 1.486 GB, free: 72.81 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1017/5.772, allocations: 37.05 MB / 1.522 GB, free: 58.91 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01124/5.784, allocations: 2.703 MB / 1.525 GB, free: 57.68 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004333/5.788, allocations: 6.062 kB / 1.525 GB, free: 57.68 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01052/5.799, allocations: 436.8 kB / 1.525 GB, free: 57.68 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004961/5.804, allocations: 0.8833 MB / 1.526 GB, free: 57.5 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003409/5.807, allocations: 309.6 kB / 1.526 GB, free: 57.43 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.005844/5.813, allocations: 1.936 MB / 1.528 GB, free: 56.69 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.804e-06/5.813, allocations: 3.844 kB / 1.528 GB, free: 56.69 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.01823/5.831, allocations: 3.195 MB / 1.531 GB, free: 56.3 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.1002/5.932, allocations: 37.8 MB / 1.568 GB, free: 26.89 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.05343/5.985, allocations: 19.75 MB / 1.587 GB, free: 9.816 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/5.985, allocations: 2.188 kB / 1.587 GB, free: 9.816 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.03409/6.019, allocations: 10.91 MB / 1.598 GB, free: 416 kB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01543/6.035, allocations: 1.096 MB / 1.599 GB, free: 0 / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5367/6.571, allocations: 31.75 MB / 1.63 GB, free: 91.04 MB / 0.5577 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02405/6.596, allocations: 9.408 MB / 1.639 GB, free: 90.08 MB / 0.5577 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01536/6.611, allocations: 4.818 MB / 1.644 GB, free: 90.07 MB / 0.5577 GB Notification: Performance of SimCode: time 1.062e-06/6.611, allocations: 2.75 kB / 1.644 GB, free: 90.07 MB / 0.5577 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.854/13.46, allocations: 0.5303 GB / 2.174 GB, free: 62.02 MB / 0.589 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Electrical_QuasiStatic_MultiPhase_Ideal.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat does not exist to compare? outputFormat=mat