Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.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.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004245/0.004245, allocations: 371.4 kB / 15.97 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.31/4.31, allocations: 388.9 MB / 405.6 MB, free: 9.578 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.003596/0.003596, allocations: 227 kB / 451 MB, free: 145 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.5923/0.5923, allocations: 80.01 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006548/0.0006551, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.11, allocations: 54.86 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008823/0.1189, allocations: 6.737 MB / 0.6867 GB, free: 34.9 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00532/0.1243, allocations: 2.077 MB / 0.6887 GB, free: 32.81 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.1255, allocations: 28 kB / 0.6887 GB, free: 32.79 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.1266, allocations: 250.6 kB / 0.689 GB, free: 32.54 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003419/0.13, allocations: 0.7656 MB / 0.6897 GB, free: 31.77 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002868/0.1329, allocations: 0.6222 MB / 0.6903 GB, free: 31.16 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002252/0.1352, allocations: 1.258 MB / 0.6915 GB, free: 29.89 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004009/0.1393, allocations: 1.515 MB / 0.693 GB, free: 28.36 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009578/0.1402, allocations: 498.1 kB / 0.6935 GB, free: 27.87 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009286/0.1412, allocations: 0.6419 MB / 0.6941 GB, free: 27.22 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002037/0.1414, allocations: 56 kB / 0.6942 GB, free: 27.17 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009586/0.1424, allocations: 235.8 kB / 0.6944 GB, free: 26.94 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000195/0.1426, allocations: 231 kB / 0.6946 GB, free: 26.71 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003107/0.1429, allocations: 237.1 kB / 0.6949 GB, free: 26.47 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001818/0.1448, allocations: 1.278 MB / 0.6961 GB, free: 25.19 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.1448, allocations: 4 kB / 0.6961 GB, free: 25.19 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1448, allocations: 0 / 0.6961 GB, free: 25.19 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.994e-05/0.1449, allocations: 4 kB / 0.6961 GB, free: 25.18 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.01043/0.1553, allocations: 2.131 MB / 0.6982 GB, free: 23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.1554, allocations: 16.77 kB / 0.6982 GB, free: 22.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01528/0.1707, allocations: 1.497 MB / 0.6997 GB, free: 21.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001696/0.1724, allocations: 0.594 MB / 0.7002 GB, free: 20.85 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.1726, allocations: 94.69 kB / 0.7003 GB, free: 20.76 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003666/0.173, allocations: 136 kB / 0.7005 GB, free: 20.62 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004436/0.1774, allocations: 1.515 MB / 0.7019 GB, free: 19.06 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.132e-05/0.1775, allocations: 4 kB / 0.702 GB, free: 19.06 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002124/0.1778, allocations: 63.92 kB / 0.702 GB, free: 19 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.94e-05/0.1778, allocations: 36 kB / 0.702 GB, free: 18.96 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005052/0.1829, allocations: 1.576 MB / 0.7036 GB, free: 17.38 MB / 346.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.01302/0.1959, allocations: 5.4 MB / 0.7089 GB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003555/0.1995, allocations: 2.364 MB / 0.7112 GB, free: 9.094 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00179/0.2014, allocations: 0.6646 MB / 0.7118 GB, free: 8.426 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001882/0.2016, allocations: 106.1 kB / 0.7119 GB, free: 8.305 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.2017, allocations: 51.5 kB / 0.712 GB, free: 8.242 MB / 346.7 MB Notification: Performance of pre-optimization done (n=129): time 5.46e-06/0.2017, allocations: 0 / 0.712 GB, free: 8.242 MB / 346.7 MB Notification: Performance of matching and sorting (n=129): time 0.0164/0.2181, allocations: 3.121 MB / 0.715 GB, free: 5.102 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.2182, allocations: 94.14 kB / 0.7151 GB, free: 4.992 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006538/0.2189, allocations: 441.6 kB / 0.7155 GB, free: 4.551 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001748/0.219, allocations: 49.7 kB / 0.7156 GB, free: 4.496 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002918/0.2193, allocations: 475.2 kB / 0.716 GB, free: 4.023 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003829/0.2197, allocations: 421.8 kB / 0.7164 GB, free: 3.605 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.2199, allocations: 24 kB / 0.7165 GB, free: 3.582 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.22, allocations: 382.8 kB / 0.7168 GB, free: 3.199 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/0.2214, allocations: 471.1 kB / 0.7173 GB, free: 2.738 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001535/0.223, allocations: 0.7519 MB / 0.718 GB, free: 1.879 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001645/0.2246, allocations: 0.5413 MB / 0.7185 GB, free: 1.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.602e-05/0.2247, allocations: 7.953 kB / 0.7185 GB, free: 1.332 MB / 346.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.3116/0.5363, allocations: 1.635 MB / 0.7201 GB, free: 43.28 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.985e-05/0.5364, allocations: 9.188 kB / 0.7201 GB, free: 43.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/0.5364, allocations: 11.47 kB / 0.7202 GB, free: 43.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002847/0.5393, allocations: 0.5241 MB / 0.7207 GB, free: 43.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001736/0.5411, allocations: 215.5 kB / 0.7209 GB, free: 43.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01212/0.5532, allocations: 4.707 MB / 0.7255 GB, free: 41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.5546, allocations: 137.8 kB / 0.7256 GB, free: 40.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/0.5548, allocations: 54.31 kB / 0.7256 GB, free: 40.92 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 119 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 28} Notification: Performance of prepare postOptimizeDAE: time 0.0006492/0.5555, allocations: 277.2 kB / 0.7259 GB, free: 40.71 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00023/0.5557, allocations: 77.91 kB / 0.726 GB, free: 40.67 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004709/0.5604, allocations: 1.589 MB / 0.7275 GB, free: 39.95 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.023e-05/0.5605, allocations: 6.375 kB / 0.7275 GB, free: 39.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.5605, allocations: 0 / 0.7275 GB, free: 39.95 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006455/0.5612, allocations: 290.1 kB / 0.7278 GB, free: 39.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002118/0.5614, allocations: 21.16 kB / 0.7278 GB, free: 39.72 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.5624, allocations: 62.16 kB / 0.7279 GB, free: 39.7 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002484/0.5627, allocations: 77.14 kB / 0.728 GB, free: 39.68 MB / 346.7 MB [/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(-variableAdmittance.i.re, -variableAdmittance.i.im) = if booleanStep3.y then Complex((-idealIntermediateSwitch.s1.re) * idealIntermediateSwitch.Goff - idealIntermediateSwitch.s4.re, (-idealIntermediateSwitch.s1.im) * idealIntermediateSwitch.Goff - idealIntermediateSwitch.s4.im) else Complex((-idealIntermediateSwitch.s1.re) - idealIntermediateSwitch.s4.re * idealIntermediateSwitch.Goff, (-idealIntermediateSwitch.s1.im) - idealIntermediateSwitch.s4.im * idealIntermediateSwitch.Goff) Variables: 1: idealIntermediateSwitch.s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real 2: idealIntermediateSwitch.s3.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [/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): idealClosingSwitch.i.im + (-idealIntermediateSwitch.p2.i.im) - idealIntermediateSwitch.p1.i.im = 0.0 2/2 (2): Modelica.SIunits.ComplexCurrent(-variableImpedance.i.re, -variableImpedance.i.im) = if booleanStep3.y then Complex((-idealIntermediateSwitch.s2.re) * idealIntermediateSwitch.Goff - idealIntermediateSwitch.s3.re, (-idealIntermediateSwitch.s2.im) * idealIntermediateSwitch.Goff - idealIntermediateSwitch.s3.im) else Complex((-idealIntermediateSwitch.s2.re) - idealIntermediateSwitch.s3.re * idealIntermediateSwitch.Goff, (-idealIntermediateSwitch.s2.im) - idealIntermediateSwitch.s3.im * idealIntermediateSwitch.Goff) 3/4 (2): Modelica.SIunits.ComplexCurrent(-variableAdmittance.i.re, -variableAdmittance.i.im) = if booleanStep3.y then Complex((-idealIntermediateSwitch.s1.re) * idealIntermediateSwitch.Goff - idealIntermediateSwitch.s4.re, (-idealIntermediateSwitch.s1.im) * idealIntermediateSwitch.Goff - idealIntermediateSwitch.s4.im) else Complex((-idealIntermediateSwitch.s1.re) - idealIntermediateSwitch.s4.re * idealIntermediateSwitch.Goff, (-idealIntermediateSwitch.s1.im) - idealIntermediateSwitch.s4.im * idealIntermediateSwitch.Goff) 4/6 (1): variableAdmittance.i.re = variableAdmittance.G_actual * variableAdmittance.v.re - const_admittance.k.im * variableAdmittance.v.im 5/7 (1): variableAdmittance.i.im = variableAdmittance.G_actual * variableAdmittance.v.im + const_admittance.k.im * variableAdmittance.v.re 6/8 (1): variableAdmittance.i.im = admittance.G_actual * admittance.v.im + admittance.B_ref * admittance.v.re 7/9 (1): admittance.v.im = idealIntermediateSwitch.n1.v.im - variableAdmittance.v.im 8/10 (1): idealCommutingSwitch.n2.v.im - idealIntermediateSwitch.n1.v.im = idealIntermediateSwitch.s4.im * (if booleanStep3.y then idealIntermediateSwitch.Ron else 1.0) 9/11 (1): idealCommutingSwitch.n2.v.im - idealIntermediateSwitch.n2.v.im = idealIntermediateSwitch.s2.im * (if booleanStep3.y then 1.0 else idealIntermediateSwitch.Ron) 10/12 (2): idealIntermediateSwitch.p2.i = if booleanStep3.y then Complex(idealIntermediateSwitch.s2.re * idealIntermediateSwitch.Goff + idealIntermediateSwitch.s4.re, idealIntermediateSwitch.s2.im * idealIntermediateSwitch.Goff + idealIntermediateSwitch.s4.im) else Complex(idealIntermediateSwitch.s2.re + idealIntermediateSwitch.s4.re * idealIntermediateSwitch.Goff, idealIntermediateSwitch.s2.im + idealIntermediateSwitch.s4.im * idealIntermediateSwitch.Goff) 11/14 (1): idealCommutingSwitch.n2.v.re - idealIntermediateSwitch.n1.v.re = idealIntermediateSwitch.s4.re * (if booleanStep3.y then idealIntermediateSwitch.Ron else 1.0) 12/15 (1): admittance.v.re = idealIntermediateSwitch.n1.v.re - variableAdmittance.v.re 13/16 (1): idealCommutingSwitch.n1.v.re - idealIntermediateSwitch.n1.v.re = idealIntermediateSwitch.s1.re * (if booleanStep3.y then 1.0 else idealIntermediateSwitch.Ron) 14/17 (1): idealCommutingSwitch.n1.v.re - idealIntermediateSwitch.n2.v.re = idealIntermediateSwitch.s3.re * (if booleanStep3.y then idealIntermediateSwitch.Ron else 1.0) 15/18 (1): impedance.v.re = idealIntermediateSwitch.n2.v.re - variableImpedance.v.re 16/19 (1): impedance.v.re = impedance.R_actual * variableImpedance.i.re - impedance.X_ref * variableImpedance.i.im 17/20 (1): variableImpedance.v.re = variableImpedance.R_actual * variableImpedance.i.re - const_impedance.k.im * variableImpedance.i.im 18/21 (1): variableImpedance.v.im = variableImpedance.R_actual * variableImpedance.i.im + const_impedance.k.im * variableImpedance.i.re 19/22 (1): impedance.v.im = idealIntermediateSwitch.n2.v.im - variableImpedance.v.im 20/23 (1): impedance.v.im = impedance.R_actual * variableImpedance.i.im + impedance.X_ref * variableImpedance.i.re 21/24 (1): idealCommutingSwitch.n2.v.re - idealIntermediateSwitch.n2.v.re = idealIntermediateSwitch.s2.re * (if booleanStep3.y then 1.0 else idealIntermediateSwitch.Ron) 22/25 (1): idealClosingSwitch.pin_n.v.re - idealCommutingSwitch.n2.v.re = idealCommutingSwitch.s2.re * (if booleanStep2.y then idealCommutingSwitch.Ron else 1.0) 23/26 (1): -idealIntermediateSwitch.p2.i.re = (-idealCommutingSwitch.s2.re) * (if booleanStep2.y then 1.0 else idealCommutingSwitch.Goff) 24/27 (1): idealClosingSwitch.i.re + (-idealIntermediateSwitch.p2.i.re) - idealIntermediateSwitch.p1.i.re = 0.0 25/28 (2): idealIntermediateSwitch.p1.i = if booleanStep3.y then Complex(idealIntermediateSwitch.s1.re * idealIntermediateSwitch.Goff + idealIntermediateSwitch.s3.re, idealIntermediateSwitch.s1.im * idealIntermediateSwitch.Goff + idealIntermediateSwitch.s3.im) else Complex(idealIntermediateSwitch.s1.re + idealIntermediateSwitch.s3.re * idealIntermediateSwitch.Goff, idealIntermediateSwitch.s1.im + idealIntermediateSwitch.s3.im * idealIntermediateSwitch.Goff) 26/30 (1): idealCommutingSwitch.n1.v.im - idealIntermediateSwitch.n1.v.im = idealIntermediateSwitch.s1.im * (if booleanStep3.y then 1.0 else idealIntermediateSwitch.Ron) 27/31 (1): idealCommutingSwitch.n1.v.im - idealIntermediateSwitch.n2.v.im = idealIntermediateSwitch.s3.im * (if booleanStep3.y then idealIntermediateSwitch.Ron else 1.0) 28/32 (1): idealClosingSwitch.pin_n.v.im - idealCommutingSwitch.n1.v.im = idealCommutingSwitch.s1.im * (if booleanStep2.y then 1.0 else idealCommutingSwitch.Ron) 29/33 (1): -idealIntermediateSwitch.p1.i.im = (-idealCommutingSwitch.s1.im) * (if booleanStep2.y then idealCommutingSwitch.Goff else 1.0) 30/34 (1): -idealIntermediateSwitch.p1.i.re = (-idealCommutingSwitch.s1.re) * (if booleanStep2.y then idealCommutingSwitch.Goff else 1.0) 31/35 (1): idealClosingSwitch.pin_n.v.re - idealCommutingSwitch.n1.v.re = idealCommutingSwitch.s1.re * (if booleanStep2.y then 1.0 else idealCommutingSwitch.Ron) 32/36 (1): idealClosingSwitch.v.re = idealOpeningSwitch.pin_n.v.re - idealClosingSwitch.pin_n.v.re 33/37 (1): idealOpeningSwitch.v.re = voltageSource.v.re - idealOpeningSwitch.pin_n.v.re 34/38 (1): idealOpeningSwitch.v.re = idealOpeningSwitch.s.re * (if booleanStep4.y then 1.0 else idealOpeningSwitch.Ron) 35/39 (1): idealClosingSwitch.i.re = idealOpeningSwitch.s.re * (if booleanStep4.y then idealOpeningSwitch.Goff else 1.0) 36/40 (1): idealClosingSwitch.i.re = idealClosingSwitch.s.re * (if booleanStep1.y then 1.0 else idealClosingSwitch.Goff) 37/41 (1): idealClosingSwitch.v.re = idealClosingSwitch.s.re * (if booleanStep1.y then idealClosingSwitch.Ron else 1.0) 38/42 (1): idealClosingSwitch.pin_n.v.im - idealCommutingSwitch.n2.v.im = idealCommutingSwitch.s2.im * (if booleanStep2.y then idealCommutingSwitch.Ron else 1.0) 39/43 (1): idealClosingSwitch.v.im = idealOpeningSwitch.pin_n.v.im - idealClosingSwitch.pin_n.v.im 40/44 (1): idealOpeningSwitch.v.im = voltageSource.v.im - idealOpeningSwitch.pin_n.v.im 41/45 (1): idealOpeningSwitch.v.im = idealOpeningSwitch.s.im * (if booleanStep4.y then 1.0 else idealOpeningSwitch.Ron) 42/46 (1): idealClosingSwitch.i.im = idealOpeningSwitch.s.im * (if booleanStep4.y then idealOpeningSwitch.Goff else 1.0) 43/47 (1): idealClosingSwitch.i.im = idealClosingSwitch.s.im * (if booleanStep1.y then 1.0 else idealClosingSwitch.Goff) 44/48 (1): idealClosingSwitch.v.im = idealClosingSwitch.s.im * (if booleanStep1.y then idealClosingSwitch.Ron else 1.0) 45/49 (1): variableAdmittance.i.re = admittance.G_actual * admittance.v.re - admittance.B_ref * admittance.v.im 46/50 (1): -idealIntermediateSwitch.p2.i.im = (-idealCommutingSwitch.s2.im) * (if booleanStep2.y then 1.0 else idealCommutingSwitch.Goff) Variables: 1: idealCommutingSwitch.s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real 2: admittance.v.re:VARIABLE(unit = "V" ) "Real part of complex number" type: Real 3: idealClosingSwitch.v.im:VARIABLE(unit = "V" ) "Imaginary part of complex number" type: Real 4: idealClosingSwitch.s.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real 5: idealClosingSwitch.i.im:VARIABLE(unit = "A" ) "Imaginary part of complex number" type: Real 6: idealOpeningSwitch.s.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real 7: idealOpeningSwitch.v.im:VARIABLE(unit = "V" ) "Imaginary part of complex number" type: Real 8: idealOpeningSwitch.pin_n.v.im:VARIABLE(flow=false unit = "V" ) "Imaginary part of complex number" type: Real 9: idealClosingSwitch.pin_n.v.im:VARIABLE(flow=false unit = "V" ) "Imaginary part of complex number" type: Real 10: idealClosingSwitch.v.re:VARIABLE(unit = "V" ) "Real part of complex number" type: Real 11: idealClosingSwitch.s.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real 12: idealClosingSwitch.i.re:VARIABLE(unit = "A" ) "Real part of complex number" type: Real 13: idealOpeningSwitch.s.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real 14: idealOpeningSwitch.v.re:VARIABLE(unit = "V" ) "Real part of complex number" type: Real 15: idealOpeningSwitch.pin_n.v.re:VARIABLE(flow=false unit = "V" ) "Real part of complex number" type: Real 16: idealClosingSwitch.pin_n.v.re:VARIABLE(flow=false unit = "V" ) "Real part of complex number" type: Real 17: idealCommutingSwitch.s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real 18: idealIntermediateSwitch.p1.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex number" type: Real 19: idealCommutingSwitch.s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real 20: idealIntermediateSwitch.n2.v.im:VARIABLE(flow=false unit = "V" ) "Imaginary part of complex number" type: Real 21: idealCommutingSwitch.n1.v.im:VARIABLE(flow=false unit = "V" ) "Imaginary part of complex number" type: Real 22: idealIntermediateSwitch.s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real 23: idealIntermediateSwitch.p1.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex number" type: Real 24: idealIntermediateSwitch.p2.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex number" type: Real 25: idealCommutingSwitch.s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real 26: idealCommutingSwitch.n2.v.re:VARIABLE(flow=false unit = "V" ) "Real part of complex number" type: Real 27: variableImpedance.i.im:VARIABLE(unit = "A" ) "Imaginary part of complex number" type: Real 28: impedance.v.im:VARIABLE(unit = "V" ) "Imaginary part of complex number" type: Real 29: variableImpedance.v.im:VARIABLE(unit = "V" ) "Imaginary part of complex number" type: Real 30: variableImpedance.v.re:VARIABLE(unit = "V" ) "Real part of complex number" type: Real 31: variableImpedance.i.re:VARIABLE(unit = "A" ) "Real part of complex number" type: Real 32: impedance.v.re:VARIABLE(unit = "V" ) "Real part of complex number" type: Real 33: idealIntermediateSwitch.n2.v.re:VARIABLE(flow=false unit = "V" ) "Real part of complex number" type: Real 34: idealCommutingSwitch.n1.v.re:VARIABLE(flow=false unit = "V" ) "Real part of complex number" type: Real 35: variableAdmittance.v.re:VARIABLE(unit = "V" ) "Real part of complex number" type: Real 36: idealIntermediateSwitch.n1.v.re:VARIABLE(flow=false unit = "V" ) "Real part of complex number" type: Real 37: idealIntermediateSwitch.s4.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real 38: idealIntermediateSwitch.s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real 39: idealCommutingSwitch.n2.v.im:VARIABLE(flow=false unit = "V" ) "Imaginary part of complex number" type: Real 40: idealIntermediateSwitch.n1.v.im:VARIABLE(flow=false unit = "V" ) "Imaginary part of complex number" type: Real 41: admittance.v.im:VARIABLE(unit = "V" ) "Imaginary part of complex number" type: Real 42: variableAdmittance.i.im:VARIABLE(unit = "A" ) "Imaginary part of complex number" type: Real 43: variableAdmittance.v.im:VARIABLE(unit = "V" ) "Imaginary part of complex number" type: Real 44: variableAdmittance.i.re:VARIABLE(unit = "A" ) "Real part of complex number" type: Real 45: idealIntermediateSwitch.s4.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real 46: idealIntermediateSwitch.s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real 47: idealIntermediateSwitch.s3.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real 48: idealIntermediateSwitch.s3.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real 49: idealIntermediateSwitch.s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real 50: idealIntermediateSwitch.p2.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex number" type: Real [/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.005206/0.5679, allocations: 3.2 MB / 0.7311 GB, free: 36.7 MB / 346.7 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed.