Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001393/0.001393, allocations: 113.9 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001507/0.001507, allocations: 209.8 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 230.2 MB / 257.8 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.226/0.226, allocations: 46.9 MB / 361.1 MB, free: 4.652 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002527/0.002527, allocations: 83.86 kB / 0.4968 GB, free: 8.387 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3092, allocations: 65.97 MB / 0.5612 GB, free: 34.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.01707/0.3262, allocations: 22.87 MB / 0.5835 GB, free: 18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01136/0.3376, allocations: 5.549 MB / 0.5889 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005297/0.3429, allocations: 196.7 kB / 0.5891 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01968/0.3626, allocations: 9.572 MB / 0.5985 GB, free: 8.246 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009129/0.3717, allocations: 2.16 MB / 0.6006 GB, free: 6.898 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005027/0.3767, allocations: 1.918 MB / 0.6025 GB, free: 5.734 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01557/0.3923, allocations: 14.46 MB / 0.6166 GB, free: 13.56 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03555/0.4278, allocations: 20.06 MB / 0.6362 GB, free: 10.31 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01465/0.4425, allocations: 8.007 MB / 0.644 GB, free: 2.281 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01569/0.4582, allocations: 8.806 MB / 0.6526 GB, free: 9.445 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005514/0.4637, allocations: 2.098 MB / 0.6546 GB, free: 7.348 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008331/0.472, allocations: 2.347 MB / 0.6569 GB, free: 5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006958/0.479, allocations: 4.333 MB / 0.6612 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.016/0.495, allocations: 8.424 MB / 0.6694 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.04057/0.5356, allocations: 28.77 MB / 0.6975 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.5356, allocations: 4 kB / 0.6975 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.764e-06/0.5356, allocations: 4 kB / 0.6975 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0008476/0.5364, allocations: 0 / 0.6975 GB, free: 11.33 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.06326/0.5997, allocations: 19.01 MB / 0.7161 GB, free: 8.191 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.5997, allocations: 8.031 kB / 0.7161 GB, free: 8.184 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06282/0.6626, allocations: 11.48 MB / 0.7273 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02299/0.6855, allocations: 8.896 MB / 0.736 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001467/0.687, allocations: 1.063 MB / 0.737 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006944/0.694, allocations: 1.367 MB / 0.7383 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6306/1.325, allocations: 23.63 MB / 0.7614 GB, free: 125.5 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004384/1.325, allocations: 23.73 kB / 0.7614 GB, free: 125.5 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003185/1.328, allocations: 0.5677 MB / 0.762 GB, free: 125.1 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005553/1.329, allocations: 0.6975 MB / 0.7627 GB, free: 125 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04219/1.371, allocations: 21.74 MB / 0.7839 GB, free: 117.6 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1087/1.48, allocations: 72.05 MB / 0.8543 GB, free: 66.66 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01703/1.497, allocations: 28.08 MB / 0.8817 GB, free: 35.9 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006157/1.503, allocations: 4.508 MB / 0.8861 GB, free: 31.37 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0241/1.527, allocations: 16.55 MB / 0.9022 GB, free: 14.62 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/1.527, allocations: 94.09 kB / 0.9023 GB, free: 14.52 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=465): time 7.574e-06/1.527, allocations: 0 / 0.9023 GB, free: 14.52 MB / 0.5763 GB Notification: Performance of matching and sorting (n=465): time 0.03371/1.561, allocations: 15.68 MB / 0.9176 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.264e-05/1.561, allocations: 128.7 kB / 0.9178 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01063/1.571, allocations: 5.116 MB / 0.9228 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001176/1.573, allocations: 97.7 kB / 0.9229 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.005379/1.578, allocations: 6.103 MB / 0.9288 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002863/1.581, allocations: 1.662 MB / 0.9304 GB, free: 2.195 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005446/1.586, allocations: 1.555 MB / 0.932 GB, free: 0.6328 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001343/1.586, allocations: 301.1 kB / 0.9322 GB, free: 344 kB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007326/1.594, allocations: 4.152 MB / 0.9363 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01104/1.605, allocations: 7.271 MB / 0.9434 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01948/1.624, allocations: 11.96 MB / 0.9551 GB, free: 6.043 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001154/1.624, allocations: 35.94 kB / 0.9551 GB, free: 6.008 MB / 0.6232 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02847/1.653, allocations: 13.08 MB / 0.9679 GB, free: 8.902 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 0.000131/1.653, allocations: 48 kB / 0.9679 GB, free: 8.855 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001992/1.653, allocations: 104 kB / 0.968 GB, free: 8.754 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007388/1.661, allocations: 3.091 MB / 0.9711 GB, free: 5.656 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006659/1.667, allocations: 1.603 MB / 0.9726 GB, free: 4.051 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/1.668, allocations: 335 kB / 0.9729 GB, free: 3.711 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007056/1.675, allocations: 1.075 MB / 0.974 GB, free: 2.629 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00176/1.677, allocations: 388 kB / 0.9744 GB, free: 2.25 MB / 0.6388 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 473 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep4[3].y,booleanStep4[2].y,booleanStep4[1].y,booleanStep3[3].y,booleanStep3[2].y,booleanStep3[1].y,booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,booleanStep1[3].y,booleanStep1[2].y,booleanStep1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (814): * Single equations (assignments): 811 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.01193/1.689, allocations: 5.382 MB / 0.9796 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001819/1.691, allocations: 0.5201 MB / 0.9801 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02035/1.711, allocations: 9.557 MB / 0.9895 GB, free: 2.734 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.124e-05/1.711, allocations: 27.91 kB / 0.9895 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/1.711, allocations: 0 / 0.9895 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00435/1.716, allocations: 1.391 MB / 0.9908 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001565/1.717, allocations: 83.94 kB / 0.9909 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003711/1.721, allocations: 363.5 kB / 0.9913 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001021/1.722, allocations: 319.4 kB / 0.9916 GB, free: 0.543 MB / 0.6544 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (2): Modelica.Units.SI.ComplexCurrent(-idealCommutingSwitch.plug_n1.pin[3].i.re, -idealCommutingSwitch.plug_n1.pin[3].i.im) = if booleanStep3[3].y then Complex(idealIntermediateSwitch.idealIntermediateSwitch[3].s1.re * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff + idealIntermediateSwitch.idealIntermediateSwitch[3].s3.re, idealIntermediateSwitch.idealIntermediateSwitch[3].s1.im * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff + idealIntermediateSwitch.idealIntermediateSwitch[3].s3.im) else Complex(idealIntermediateSwitch.idealIntermediateSwitch[3].s1.re + idealIntermediateSwitch.idealIntermediateSwitch[3].s3.re * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff, idealIntermediateSwitch.idealIntermediateSwitch[3].s1.im + idealIntermediateSwitch.idealIntermediateSwitch[3].s3.im * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff) Variables: 1: idealIntermediateSwitch.idealIntermediateSwitch[3].s1.re:VARIABLE(unit = \"1\" protected = true ) \"Real part of complex number\" type: Real [3] 2: idealCommutingSwitch.plug_n1.pin[3].i.re:VARIABLE(flow=true unit = \"A\" ) \"Real part of complex number\" type: Real [3] [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (1): idealCommutingSwitch.plug_n1.pin[3].i.im + idealClosingSwitch.i[3].im + idealCommutingSwitch.plug_n2.pin[3].i.im = 0.0 2/2 (2): Modelica.Units.SI.ComplexCurrent(-impedance.i[3].re, -impedance.i[3].im) = if booleanStep3[3].y then Complex((-idealIntermediateSwitch.idealIntermediateSwitch[3].s2.re) * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff - idealIntermediateSwitch.idealIntermediateSwitch[3].s3.re, (-idealIntermediateSwitch.idealIntermediateSwitch[3].s2.im) * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff - idealIntermediateSwitch.idealIntermediateSwitch[3].s3.im) else Complex((-idealIntermediateSwitch.idealIntermediateSwitch[3].s2.re) - idealIntermediateSwitch.idealIntermediateSwitch[3].s3.re * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff, (-idealIntermediateSwitch.idealIntermediateSwitch[3].s2.im) - idealIntermediateSwitch.idealIntermediateSwitch[3].s3.im * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff) 3/4 (1): variableImpedance.v[3].re = variableImpedance.variableImpedance[3].R_actual * impedance.i[3].re - const_impedance[3].k.im * impedance.i[3].im 4/5 (1): impedance.v[3].re = impedance.plugToPins_p.pin_p[3].v.re - variableImpedance.v[3].re 5/6 (1): idealIntermediateSwitch.plugToPins_p1.pin_p[3].v.re - impedance.plugToPins_p.pin_p[3].v.re = idealIntermediateSwitch.idealIntermediateSwitch[3].s3.re * (if booleanStep3[3].y then idealIntermediateSwitch.idealIntermediateSwitch[3].Ron else 1.0) 6/7 (1): idealIntermediateSwitch.plugToPins_p1.pin_p[3].v.re - admittance.plugToPins_p.pin_p[3].v.re = idealIntermediateSwitch.idealIntermediateSwitch[3].s1.re * (if booleanStep3[3].y then 1.0 else idealIntermediateSwitch.idealIntermediateSwitch[3].Ron) 7/8 (1): admittance.v[3].re = admittance.plugToPins_p.pin_p[3].v.re - variableAdmittance.v[3].re 8/9 (1): admittance.i[3].re = variableAdmittance.variableImpedance[3].G_actual * variableAdmittance.v[3].re - const_admittance[3].k.im * variableAdmittance.v[3].im 9/10 (1): admittance.i[3].re = admittance.admittance[3].G_actual * admittance.v[3].re - admittance.admittance[3].B_ref * admittance.v[3].im 10/11 (1): admittance.v[3].im = admittance.plugToPins_p.pin_p[3].v.im - variableAdmittance.v[3].im 11/12 (1): idealIntermediateSwitch.plugToPins_p2.pin_p[3].v.im - admittance.plugToPins_p.pin_p[3].v.im = idealIntermediateSwitch.idealIntermediateSwitch[3].s4.im * (if booleanStep3[3].y then idealIntermediateSwitch.idealIntermediateSwitch[3].Ron else 1.0) 12/13 (1): idealIntermediateSwitch.plugToPins_p2.pin_p[3].v.im - impedance.plugToPins_p.pin_p[3].v.im = idealIntermediateSwitch.idealIntermediateSwitch[3].s2.im * (if booleanStep3[3].y then 1.0 else idealIntermediateSwitch.idealIntermediateSwitch[3].Ron) 13/14 (1): impedance.v[3].im = impedance.plugToPins_p.pin_p[3].v.im - variableImpedance.v[3].im 14/15 (1): variableImpedance.v[3].im = variableImpedance.variableImpedance[3].R_actual * impedance.i[3].im + const_impedance[3].k.im * impedance.i[3].re 15/16 (1): impedance.v[3].re = impedance.impedance[3].R_actual * impedance.i[3].re - impedance.impedance[3].X_ref * impedance.i[3].im 16/17 (1): impedance.v[3].im = impedance.impedance[3].R_actual * impedance.i[3].im + impedance.impedance[3].X_ref * impedance.i[3].re 17/18 (1): idealIntermediateSwitch.plugToPins_p1.pin_p[3].v.im - impedance.plugToPins_p.pin_p[3].v.im = idealIntermediateSwitch.idealIntermediateSwitch[3].s3.im * (if booleanStep3[3].y then idealIntermediateSwitch.idealIntermediateSwitch[3].Ron else 1.0) 18/19 (1): idealIntermediateSwitch.plugToPins_p1.pin_p[3].v.im - admittance.plugToPins_p.pin_p[3].v.im = idealIntermediateSwitch.idealIntermediateSwitch[3].s1.im * (if booleanStep3[3].y then 1.0 else idealIntermediateSwitch.idealIntermediateSwitch[3].Ron) 19/20 (2): Modelica.Units.SI.ComplexCurrent(-admittance.i[3].re, -admittance.i[3].im) = if booleanStep3[3].y then Complex((-idealIntermediateSwitch.idealIntermediateSwitch[3].s1.re) * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff - idealIntermediateSwitch.idealIntermediateSwitch[3].s4.re, (-idealIntermediateSwitch.idealIntermediateSwitch[3].s1.im) * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff - idealIntermediateSwitch.idealIntermediateSwitch[3].s4.im) else Complex((-idealIntermediateSwitch.idealIntermediateSwitch[3].s1.re) - idealIntermediateSwitch.idealIntermediateSwitch[3].s4.re * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff, (-idealIntermediateSwitch.idealIntermediateSwitch[3].s1.im) - idealIntermediateSwitch.idealIntermediateSwitch[3].s4.im * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff) 20/22 (1): admittance.i[3].im = variableAdmittance.variableImpedance[3].G_actual * variableAdmittance.v[3].im + const_admittance[3].k.im * variableAdmittance.v[3].re 21/23 (1): admittance.i[3].im = admittance.admittance[3].G_actual * admittance.v[3].im + admittance.admittance[3].B_ref * admittance.v[3].re 22/24 (2): Modelica.Units.SI.ComplexCurrent(-idealCommutingSwitch.plug_n2.pin[3].i.re, -idealCommutingSwitch.plug_n2.pin[3].i.im) = if booleanStep3[3].y then Complex(idealIntermediateSwitch.idealIntermediateSwitch[3].s2.re * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff + idealIntermediateSwitch.idealIntermediateSwitch[3].s4.re, idealIntermediateSwitch.idealIntermediateSwitch[3].s2.im * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff + idealIntermediateSwitch.idealIntermediateSwitch[3].s4.im) else Complex(idealIntermediateSwitch.idealIntermediateSwitch[3].s2.re + idealIntermediateSwitch.idealIntermediateSwitch[3].s4.re * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff, idealIntermediateSwitch.idealIntermediateSwitch[3].s2.im + idealIntermediateSwitch.idealIntermediateSwitch[3].s4.im * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff) 23/26 (1): idealIntermediateSwitch.plugToPins_p2.pin_p[3].v.re - impedance.plugToPins_p.pin_p[3].v.re = idealIntermediateSwitch.idealIntermediateSwitch[3].s2.re * (if booleanStep3[3].y then 1.0 else idealIntermediateSwitch.idealIntermediateSwitch[3].Ron) 24/27 (1): idealIntermediateSwitch.plugToPins_p2.pin_p[3].v.re - admittance.plugToPins_p.pin_p[3].v.re = idealIntermediateSwitch.idealIntermediateSwitch[3].s4.re * (if booleanStep3[3].y then idealIntermediateSwitch.idealIntermediateSwitch[3].Ron else 1.0) 25/28 (1): idealClosingSwitch.plugToPins_n.pin_n[3].v.re - idealIntermediateSwitch.plugToPins_p2.pin_p[3].v.re = idealCommutingSwitch.idealCommutingSwitch[3].s2.re * (if booleanStep2[3].y then idealCommutingSwitch.idealCommutingSwitch[3].Ron else 1.0) 26/29 (1): idealClosingSwitch.v[3].re = idealClosingSwitch.plugToPins_p.pin_p[3].v.re - idealClosingSwitch.plugToPins_n.pin_n[3].v.re 27/30 (1): idealClosingSwitch.v[3].re = idealClosingSwitch.idealClosingSwitch[3].s.re * (if booleanStep1[3].y then idealClosingSwitch.idealClosingSwitch[3].Ron else 1.0) 28/31 (1): idealClosingSwitch.i[3].re = idealClosingSwitch.idealClosingSwitch[3].s.re * (if booleanStep1[3].y then 1.0 else idealClosingSwitch.idealClosingSwitch[3].Goff) 29/32 (1): idealClosingSwitch.i[3].re = idealOpeningSwitch.idealOpeningSwitch[3].s.re * (if booleanStep4[3].y then idealOpeningSwitch.idealOpeningSwitch[3].Goff else 1.0) 30/33 (1): idealOpeningSwitch.v[3].re = idealOpeningSwitch.idealOpeningSwitch[3].s.re * (if booleanStep4[3].y then 1.0 else idealOpeningSwitch.idealOpeningSwitch[3].Ron) 31/34 (1): idealOpeningSwitch.v[3].re = voltageSource.v[3].re - idealClosingSwitch.plugToPins_p.pin_p[3].v.re 32/35 (1): idealCommutingSwitch.plug_n1.pin[3].i.re + idealClosingSwitch.i[3].re + idealCommutingSwitch.plug_n2.pin[3].i.re = 0.0 33/36 (1): idealCommutingSwitch.plug_n2.pin[3].i.re = (-idealCommutingSwitch.idealCommutingSwitch[3].s2.re) * (if booleanStep2[3].y then 1.0 else idealCommutingSwitch.idealCommutingSwitch[3].Goff) 34/37 (1): idealClosingSwitch.plugToPins_n.pin_n[3].v.re - idealIntermediateSwitch.plugToPins_p1.pin_p[3].v.re = idealCommutingSwitch.idealCommutingSwitch[3].s1.re * (if booleanStep2[3].y then 1.0 else idealCommutingSwitch.idealCommutingSwitch[3].Ron) 35/38 (1): idealCommutingSwitch.plug_n1.pin[3].i.re = (-idealCommutingSwitch.idealCommutingSwitch[3].s1.re) * (if booleanStep2[3].y then idealCommutingSwitch.idealCommutingSwitch[3].Goff else 1.0) 36/39 (2): Modelica.Units.SI.ComplexCurrent(-idealCommutingSwitch.plug_n1.pin[3].i.re, -idealCommutingSwitch.plug_n1.pin[3].i.im) = if booleanStep3[3].y then Complex(idealIntermediateSwitch.idealIntermediateSwitch[3].s1.re * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff + idealIntermediateSwitch.idealIntermediateSwitch[3].s3.re, idealIntermediateSwitch.idealIntermediateSwitch[3].s1.im * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff + idealIntermediateSwitch.idealIntermediateSwitch[3].s3.im) else Complex(idealIntermediateSwitch.idealIntermediateSwitch[3].s1.re + idealIntermediateSwitch.idealIntermediateSwitch[3].s3.re * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff, idealIntermediateSwitch.idealIntermediateSwitch[3].s1.im + idealIntermediateSwitch.idealIntermediateSwitch[3].s3.im * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff) 37/41 (1): idealClosingSwitch.plugToPins_n.pin_n[3].v.im - idealIntermediateSwitch.plugToPins_p1.pin_p[3].v.im = idealCommutingSwitch.idealCommutingSwitch[3].s1.im * (if booleanStep2[3].y then 1.0 else idealCommutingSwitch.idealCommutingSwitch[3].Ron) 38/42 (1): idealClosingSwitch.v[3].im = idealClosingSwitch.plugToPins_p.pin_p[3].v.im - idealClosingSwitch.plugToPins_n.pin_n[3].v.im 39/43 (1): idealClosingSwitch.v[3].im = idealClosingSwitch.idealClosingSwitch[3].s.im * (if booleanStep1[3].y then idealClosingSwitch.idealClosingSwitch[3].Ron else 1.0) 40/44 (1): idealClosingSwitch.i[3].im = idealClosingSwitch.idealClosingSwitch[3].s.im * (if booleanStep1[3].y then 1.0 else idealClosingSwitch.idealClosingSwitch[3].Goff) 41/45 (1): idealClosingSwitch.i[3].im = idealOpeningSwitch.idealOpeningSwitch[3].s.im * (if booleanStep4[3].y then idealOpeningSwitch.idealOpeningSwitch[3].Goff else 1.0) 42/46 (1): idealOpeningSwitch.v[3].im = idealOpeningSwitch.idealOpeningSwitch[3].s.im * (if booleanStep4[3].y then 1.0 else idealOpeningSwitch.idealOpeningSwitch[3].Ron) 43/47 (1): idealOpeningSwitch.v[3].im = voltageSource.v[3].im - idealClosingSwitch.plugToPins_p.pin_p[3].v.im 44/48 (1): idealClosingSwitch.plugToPins_n.pin_n[3].v.im - idealIntermediateSwitch.plugToPins_p2.pin_p[3].v.im = idealCommutingSwitch.idealCommutingSwitch[3].s2.im * (if booleanStep2[3].y then idealCommutingSwitch.idealCommutingSwitch[3].Ron else 1.0) 45/49 (1): idealCommutingSwitch.plug_n2.pin[3].i.im = (-idealCommutingSwitch.idealCommutingSwitch[3].s2.im) * (if booleanStep2[3].y then 1.0 else idealCommutingSwitch.idealCommutingSwitch[3].Goff) 46/50 (1): idealCommutingSwitch.plug_n1.pin[3].i.im = (-idealCommutingSwitch.idealCommutingSwitch[3].s1.im) * (if booleanStep2[3].y then idealCommutingSwitch.idealCommutingSwitch[3].Goff else 1.0) Variables: 1: idealCommutingSwitch.idealCommutingSwitch[3].s1.im:VARIABLE(unit = \"1\" protected = true ) \"Imaginary part of complex number\" type: Real [3] 2: idealCommutingSwitch.plug_n2.pin[3].i.im:VARIABLE(flow=true unit = \"A\" ) \"Imaginary part of complex number\" type: Real [3] 3: idealCommutingSwitch.idealCommutingSwitch[3].s2.im:VARIABLE(unit = \"1\" protected = true ) \"Imaginary part of complex number\" type: Real [3] 4: idealClosingSwitch.plugToPins_p.pin_p[3].v.im:VARIABLE(flow=false unit = \"V\" ) \"Imaginary part of complex number\" type: Real [3] 5: idealOpeningSwitch.v[3].im:VARIABLE(unit = \"V\" ) \"Imaginary part of complex number\" type: Real [3] 6: idealOpeningSwitch.idealOpeningSwitch[3].s.im:VARIABLE(unit = \"1\" protected = true ) \"Imaginary part of complex number\" type: Real [3] 7: idealClosingSwitch.i[3].im:VARIABLE(unit = \"A\" ) \"Imaginary part of complex number\" type: Real [3] 8: idealClosingSwitch.idealClosingSwitch[3].s.im:VARIABLE(unit = \"1\" protected = true ) \"Imaginary part of complex number\" type: Real [3] 9: idealClosingSwitch.v[3].im:VARIABLE(unit = \"V\" ) \"Imaginary part of complex number\" type: Real [3] 10: idealClosingSwitch.plugToPins_n.pin_n[3].v.im:VARIABLE(flow=false unit = \"V\" ) \"Imaginary part of complex number\" type: Real [3] 11: idealIntermediateSwitch.idealIntermediateSwitch[3].s1.re:VARIABLE(unit = \"1\" protected = true ) \"Real part of complex number\" type: Real [3] 12: idealCommutingSwitch.plug_n1.pin[3].i.re:VARIABLE(flow=true unit = \"A\" ) \"Real part of complex number\" type: Real [3] 13: idealCommutingSwitch.idealCommutingSwitch[3].s1.re:VARIABLE(unit = \"1\" protected = true ) \"Real part of complex number\" type: Real [3] 14: idealCommutingSwitch.idealCommutingSwitch[3].s2.re:VARIABLE(unit = \"1\" protected = true ) \"Real part of complex number\" type: Real [3] 15: idealCommutingSwitch.plug_n2.pin[3].i.re:VARIABLE(flow=true unit = \"A\" ) \"Real part of complex number\" type: Real [3] 16: idealClosingSwitch.plugToPins_p.pin_p[3].v.re:VARIABLE(flow=false unit = \"V\" ) \"Real part of complex number\" type: Real [3] 17: idealOpeningSwitch.v[3].re:VARIABLE(unit = \"V\" ) \"Real part of complex number\" type: Real [3] 18: idealOpeningSwitch.idealOpeningSwitch[3].s.re:VARIABLE(unit = \"1\" protected = true ) \"Real part of complex number\" type: Real [3] 19: idealClosingSwitch.i[3].re:VARIABLE(unit = \"A\" ) \"Real part of complex number\" type: Real [3] 20: idealClosingSwitch.idealClosingSwitch[3].s.re:VARIABLE(unit = \"1\" protected = true ) \"Real part of complex number\" type: Real [3] 21: idealClosingSwitch.v[3].re:VARIABLE(unit = \"V\" ) \"Real part of complex number\" type: Real [3] 22: idealClosingSwitch.plugToPins_n.pin_n[3].v.re:VARIABLE(flow=false unit = \"V\" ) \"Real part of complex number\" type: Real [3] 23: idealIntermediateSwitch.idealIntermediateSwitch[3].s4.re:VARIABLE(unit = \"1\" protected = true ) \"Real part of complex number\" type: Real [3] 24: idealIntermediateSwitch.plugToPins_p2.pin_p[3].v.re:VARIABLE(flow=false unit = \"V\" ) \"Real part of complex number\" type: Real [3] 25: idealIntermediateSwitch.idealIntermediateSwitch[3].s2.re:VARIABLE(unit = \"1\" protected = true ) \"Real part of complex number\" type: Real [3] 26: idealIntermediateSwitch.idealIntermediateSwitch[3].s2.im:VARIABLE(unit = \"1\" protected = true ) \"Imaginary part of complex number\" type: Real [3] 27: admittance.v[3].re:VARIABLE(unit = \"V\" ) \"Real part of complex number\" type: Real [3] 28: variableAdmittance.v[3].im:VARIABLE(unit = \"V\" ) \"Imaginary part of complex number\" type: Real [3] 29: admittance.i[3].im:VARIABLE(unit = \"A\" ) \"Imaginary part of complex number\" type: Real [3] 30: idealIntermediateSwitch.idealIntermediateSwitch[3].s4.im:VARIABLE(unit = \"1\" protected = true ) \"Imaginary part of complex number\" type: Real [3] 31: idealIntermediateSwitch.idealIntermediateSwitch[3].s1.im:VARIABLE(unit = \"1\" protected = true ) \"Imaginary part of complex number\" type: Real [3] 32: idealIntermediateSwitch.plugToPins_p1.pin_p[3].v.im:VARIABLE(flow=false unit = \"V\" ) \"Imaginary part of complex number\" type: Real [3] 33: impedance.v[3].im:VARIABLE(unit = \"V\" ) \"Imaginary part of complex number\" type: Real [3] 34: impedance.v[3].re:VARIABLE(unit = \"V\" ) \"Real part of complex number\" type: Real [3] 35: impedance.i[3].re:VARIABLE(unit = \"A\" ) \"Real part of complex number\" type: Real [3] 36: variableImpedance.v[3].im:VARIABLE(unit = \"V\" ) \"Imaginary part of complex number\" type: Real [3] 37: impedance.plugToPins_p.pin_p[3].v.im:VARIABLE(flow=false unit = \"V\" ) \"Imaginary part of complex number\" type: Real [3] 38: idealIntermediateSwitch.plugToPins_p2.pin_p[3].v.im:VARIABLE(flow=false unit = \"V\" ) \"Imaginary part of complex number\" type: Real [3] 39: admittance.plugToPins_p.pin_p[3].v.im:VARIABLE(flow=false unit = \"V\" ) \"Imaginary part of complex number\" type: Real [3] 40: admittance.v[3].im:VARIABLE(unit = \"V\" ) \"Imaginary part of complex number\" type: Real [3] 41: admittance.i[3].re:VARIABLE(unit = \"A\" ) \"Real part of complex number\" type: Real [3] 42: variableAdmittance.v[3].re:VARIABLE(unit = \"V\" ) \"Real part of complex number\" type: Real [3] 43: admittance.plugToPins_p.pin_p[3].v.re:VARIABLE(flow=false unit = \"V\" ) \"Real part of complex number\" type: Real [3] 44: idealIntermediateSwitch.plugToPins_p1.pin_p[3].v.re:VARIABLE(flow=false unit = \"V\" ) \"Real part of complex number\" type: Real [3] 45: impedance.plugToPins_p.pin_p[3].v.re:VARIABLE(flow=false unit = \"V\" ) \"Real part of complex number\" type: Real [3] 46: variableImpedance.v[3].re:VARIABLE(unit = \"V\" ) \"Real part of complex number\" type: Real [3] 47: impedance.i[3].im:VARIABLE(unit = \"A\" ) \"Imaginary part of complex number\" type: Real [3] 48: idealIntermediateSwitch.idealIntermediateSwitch[3].s3.im:VARIABLE(unit = \"1\" protected = true ) \"Imaginary part of complex number\" type: Real [3] 49: idealIntermediateSwitch.idealIntermediateSwitch[3].s3.re:VARIABLE(unit = \"1\" protected = true ) \"Real part of complex number\" type: Real [3] 50: idealCommutingSwitch.plug_n1.pin[3].i.im:VARIABLE(flow=true unit = \"A\" ) \"Imaginary part of complex number\" type: Real [3] [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9810:5-9811:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004592/1.727, allocations: 4.265 MB / 0.9957 GB, free: 11.53 MB / 0.67 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal could not be translated " [Timeout remaining time 658] [Calling sys.exit(0), Time elapsed: 4.393931258935481] Failed to read output from testmodel.py, exit status != 0: ['time', 'I[1].re', 'I[1].im', 'I[2].re', 'I[2].im', 'I[3].re', 'I[3].im'] 1.7366418461315334 1.751401633 1.212345362 Calling exit ...