Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001098/0.001098, allocations: 182.6 kB / 17.39 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.4 MB / 223.5 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006543/0.0006543, allocations: 83.88 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3416/0.3416, allocations: 43.57 MB / 363.7 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003709/0.000371, allocations: 12 kB / 432.6 MB, free: 5.586 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1216, allocations: 58.84 MB / 491.5 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.2321/0.3537, allocations: 19.91 MB / 0.4994 GB, free: 34.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01138/0.3652, allocations: 5.069 MB / 0.5044 GB, free: 32.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003896/0.3691, allocations: 155.6 kB / 0.5045 GB, free: 32.9 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003165/0.3723, allocations: 1.015 MB / 0.5055 GB, free: 32.39 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007336/0.3796, allocations: 2.056 MB / 0.5075 GB, free: 31.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004008/0.3837, allocations: 1.32 MB / 0.5088 GB, free: 30.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01531/0.399, allocations: 13.81 MB / 0.5223 GB, free: 23.68 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05078/0.4498, allocations: 32.92 MB / 0.5544 GB, free: 7.184 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009448/0.4593, allocations: 5.575 MB / 0.5599 GB, free: 2.289 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01288/0.4722, allocations: 6.302 MB / 0.566 GB, free: 12.84 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004164/0.4764, allocations: 0.8398 MB / 0.5668 GB, free: 12 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007578/0.484, allocations: 1.06 MB / 0.5679 GB, free: 10.97 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005965/0.4901, allocations: 2.715 MB / 0.5705 GB, free: 8.688 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0177/0.5078, allocations: 6.468 MB / 0.5768 GB, free: 2.465 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02944/0.5372, allocations: 24.06 MB / 0.6003 GB, free: 11.27 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.5373, allocations: 3.938 kB / 0.6003 GB, free: 11.26 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.5373, allocations: 4 kB / 0.6003 GB, free: 11.26 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0009149/0.5382, allocations: 0 / 0.6003 GB, free: 11.26 MB / 426.7 MB 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.04645/0.5847, allocations: 15.69 MB / 0.6157 GB, free: 11.46 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.5848, allocations: 12.03 kB / 0.6157 GB, free: 11.45 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06118/0.6459, allocations: 12.75 MB / 0.6281 GB, free: 14.67 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0203/0.6663, allocations: 7.908 MB / 0.6359 GB, free: 6.676 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00123/0.6676, allocations: 1.072 MB / 0.6369 GB, free: 5.602 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006213/0.6738, allocations: 1.39 MB / 0.6383 GB, free: 4.211 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06368/0.7375, allocations: 24.01 MB / 0.6617 GB, free: 12.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007125/0.7382, allocations: 27.73 kB / 0.6617 GB, free: 12.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005129/0.7434, allocations: 0.5781 MB / 0.6623 GB, free: 11.49 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009366/0.7443, allocations: 0.7335 MB / 0.663 GB, free: 10.75 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6017/1.346, allocations: 22.37 MB / 0.6849 GB, free: 107.7 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.173/1.519, allocations: 73.52 MB / 0.7567 GB, free: 64.96 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02876/1.548, allocations: 31.6 MB / 0.7875 GB, free: 35.6 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009524/1.558, allocations: 5.068 MB / 0.7925 GB, free: 32.82 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03685/1.594, allocations: 15.86 MB / 0.808 GB, free: 16.91 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001186/1.595, allocations: 82.05 kB / 0.808 GB, free: 16.82 MB / 490.8 MB Notification: Performance of pre-optimization done (n=465): time 1.731e-05/1.595, allocations: 0 / 0.808 GB, free: 16.82 MB / 490.8 MB Notification: Performance of matching and sorting (n=465): time 0.04163/1.636, allocations: 15.78 MB / 0.8234 GB, free: 0.957 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.603e-05/1.636, allocations: 128.7 kB / 0.8236 GB, free: 0.8125 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01697/1.653, allocations: 5.209 MB / 0.8287 GB, free: 11.61 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001593/1.655, allocations: 105.7 kB / 0.8288 GB, free: 11.5 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.007432/1.663, allocations: 6.043 MB / 0.8347 GB, free: 5.422 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.00386/1.666, allocations: 1.591 MB / 0.8362 GB, free: 3.844 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002048/1.669, allocations: 156 kB / 0.8364 GB, free: 3.691 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001278/1.67, allocations: 0.6323 MB / 0.837 GB, free: 3.055 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01076/1.681, allocations: 4.204 MB / 0.8411 GB, free: 14.85 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0145/1.695, allocations: 7.56 MB / 0.8485 GB, free: 5.711 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02503/1.72, allocations: 12.32 MB / 0.8605 GB, free: 7.801 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002/1.721, allocations: 32 kB / 0.8605 GB, free: 7.77 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.0376/1.758, allocations: 13.4 MB / 0.8736 GB, free: 10.34 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002753/1.758, allocations: 56.06 kB / 0.8737 GB, free: 10.29 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003388/1.759, allocations: 112 kB / 0.8738 GB, free: 10.18 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008261/1.767, allocations: 3.09 MB / 0.8768 GB, free: 7.082 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008125/1.775, allocations: 1.677 MB / 0.8784 GB, free: 5.402 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3339/2.109, allocations: 21.89 MB / 0.8998 GB, free: 157.6 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00831/2.118, allocations: 1.123 MB / 0.9009 GB, free: 157.3 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001544/2.119, allocations: 402.2 kB / 0.9013 GB, free: 157.2 MB / 0.5418 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.009629/2.129, allocations: 5.463 MB / 0.9066 GB, free: 154.9 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001673/2.131, allocations: 0.5075 MB / 0.9071 GB, free: 154.9 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01464/2.145, allocations: 9.682 MB / 0.9166 GB, free: 151.3 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.24e-05/2.145, allocations: 25.08 kB / 0.9166 GB, free: 151.3 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/2.145, allocations: 3.031 kB / 0.9166 GB, free: 151.3 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003204/2.149, allocations: 1.395 MB / 0.918 GB, free: 150.5 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008841/2.149, allocations: 75.31 kB / 0.918 GB, free: 150.5 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002617/2.152, allocations: 400.8 kB / 0.9184 GB, free: 150.4 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007188/2.153, allocations: 325.4 kB / 0.9187 GB, free: 150.4 MB / 0.5418 GB [/var/lib/jenkins1/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/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9741:5-9742:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002907/2.156, allocations: 4.293 MB / 0.9229 GB, free: 146.6 MB / 0.5418 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed.