Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002669/0.002673, allocations: 366 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.092/4.092, allocations: 388.9 MB / 405.6 MB, free: 10.24 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00357/0.003569, allocations: 230.3 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5913/0.5913, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006456/0.0006459, allocations: 16 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09947/0.1001, allocations: 54.88 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.02621/0.1264, allocations: 20.65 MB / 0.7003 GB, free: 20.93 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01344/0.14, allocations: 4.942 MB / 0.7051 GB, free: 15.97 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004565/0.1446, allocations: 151.5 kB / 0.7052 GB, free: 15.82 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004876/0.1495, allocations: 1.009 MB / 0.7062 GB, free: 14.81 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009705/0.1593, allocations: 2.075 MB / 0.7082 GB, free: 12.73 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005932/0.1652, allocations: 1.184 MB / 0.7094 GB, free: 11.57 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.3291/0.4944, allocations: 13.5 MB / 0.7226 GB, free: 12.29 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06974/0.5642, allocations: 26.54 MB / 0.7485 GB, free: 8.66 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01183/0.5761, allocations: 5.398 MB / 0.7538 GB, free: 8.66 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01579/0.592, allocations: 6.273 MB / 0.7599 GB, free: 7.023 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004683/0.5967, allocations: 0.8359 MB / 0.7607 GB, free: 6.188 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008148/0.6049, allocations: 1.033 MB / 0.7617 GB, free: 5.238 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005994/0.6109, allocations: 2.712 MB / 0.7644 GB, free: 3.547 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006126/0.6171, allocations: 2.798 MB / 0.7671 GB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03766/0.6548, allocations: 23.94 MB / 0.7905 GB, free: 9.359 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.6549, allocations: 0 / 0.7905 GB, free: 9.359 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.6549, allocations: 0 / 0.7905 GB, free: 9.359 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0008102/0.6557, allocations: 8 kB / 0.7905 GB, free: 9.352 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3915 * Number of variables: 3915 Notification: Performance of Generate backend data structure: time 0.0731/0.7289, allocations: 15.75 MB / 0.8059 GB, free: 9.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/0.7289, allocations: 8.031 kB / 0.8059 GB, free: 9.762 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1031/0.832, allocations: 12.74 MB / 0.8183 GB, free: 13.13 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02587/0.858, allocations: 7.718 MB / 0.8259 GB, free: 5.422 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002597/0.8606, allocations: 1.069 MB / 0.8269 GB, free: 4.363 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01078/0.8715, allocations: 1.385 MB / 0.8283 GB, free: 2.992 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1217/0.9933, allocations: 23.96 MB / 0.8517 GB, free: 10.97 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009399/0.9943, allocations: 11.91 kB / 0.8517 GB, free: 10.96 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007842/1.002, allocations: 0.5845 MB / 0.8522 GB, free: 10.38 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001784/1.004, allocations: 0.7334 MB / 0.853 GB, free: 9.648 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09696/1.101, allocations: 22.35 MB / 0.8748 GB, free: 3.281 MB / 458.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9456/2.047, allocations: 72.41 MB / 0.9455 GB, free: 93.1 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04656/2.093, allocations: 31.61 MB / 0.9764 GB, free: 63.72 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01238/2.106, allocations: 5.069 MB / 0.9813 GB, free: 61.07 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04128/2.147, allocations: 15.82 MB / 0.9968 GB, free: 49.34 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.732e-05/2.147, allocations: 90.06 kB / 0.9969 GB, free: 49.24 MB / 474.8 MB Notification: Performance of pre-optimization done (n=465): time 9.097e-06/2.147, allocations: 0 / 0.9969 GB, free: 49.24 MB / 474.8 MB Notification: Performance of matching and sorting (n=465): time 0.06537/2.213, allocations: 15.55 MB / 1.012 GB, free: 33.61 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/2.213, allocations: 128.7 kB / 1.012 GB, free: 33.46 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01086/2.224, allocations: 5.045 MB / 1.017 GB, free: 28.41 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001097/2.225, allocations: 97.7 kB / 1.017 GB, free: 28.31 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004367/2.229, allocations: 5.989 MB / 1.023 GB, free: 22.29 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00239/2.232, allocations: 1.6 MB / 1.025 GB, free: 20.7 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009477/2.233, allocations: 152 kB / 1.025 GB, free: 20.55 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.000603/2.233, allocations: 0.6285 MB / 1.025 GB, free: 19.92 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01537/2.249, allocations: 4.2 MB / 1.029 GB, free: 15.71 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02064/2.269, allocations: 7.552 MB / 1.037 GB, free: 6.586 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02119/2.291, allocations: 5.732 MB / 1.042 GB, free: 0.8477 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001452/2.291, allocations: 36 kB / 1.042 GB, free: 0.8125 MB / 474.8 MB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.04711/2.338, allocations: 13.38 MB / 1.056 GB, free: 3.41 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001169/2.338, allocations: 56.98 kB / 1.056 GB, free: 3.355 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002057/2.338, allocations: 116 kB / 1.056 GB, free: 3.242 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01333/2.352, allocations: 3.114 MB / 1.059 GB, free: 120 kB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01208/2.364, allocations: 1.673 MB / 1.06 GB, free: 14.44 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05707/2.421, allocations: 21.89 MB / 1.082 GB, free: 8.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01019/2.431, allocations: 1.111 MB / 1.083 GB, free: 7.039 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001987/2.433, allocations: 400 kB / 1.083 GB, free: 6.648 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (853): * Single equations (assignments): 850 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {20 30,20 28,20 28} Notification: Performance of prepare postOptimizeDAE: time 0.01521/2.448, allocations: 5.446 MB / 1.089 GB, free: 1.191 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00191/2.45, allocations: 0.4937 MB / 1.089 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3918/2.842, allocations: 9.698 MB / 1.098 GB, free: 167 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002134/2.842, allocations: 23.2 kB / 1.098 GB, free: 167 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-05/2.842, allocations: 0.6094 kB / 1.098 GB, free: 167 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004743/2.847, allocations: 1.378 MB / 1.1 GB, free: 166.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002216/2.85, allocations: 83.98 kB / 1.1 GB, free: 166.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006366/2.856, allocations: 398.6 kB / 1.1 GB, free: 166.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001749/2.858, allocations: 313.3 kB / 1.101 GB, free: 166.4 MB / 0.5105 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:522:7-524:90:writable] Error: Internal error DAEMode.traverserStrongComponents failed on equation: 1/1 (2): Modelica.SIunits.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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:522:7-524: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.SIunits.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.SIunits.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.SIunits.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.SIunits.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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9662:5-9663:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004957/2.863, allocations: 4.293 MB / 1.105 GB, free: 162.6 MB / 0.5105 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.