Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 111.7 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001158, allocations: 186.1 kB / 19.39 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 243.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2291/0.2291, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 67.89 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3691, allocations: 60.82 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.007947/0.3771, allocations: 7.727 MB / 0.5271 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00508/0.3822, allocations: 2.366 MB / 0.5294 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009231/0.3832, allocations: 26.12 kB / 0.5295 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004099/0.3873, allocations: 1.818 MB / 0.5312 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002621/0.3899, allocations: 0.8671 MB / 0.5321 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002068/0.392, allocations: 0.8933 MB / 0.5329 GB, free: 9.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00194/0.3939, allocations: 1.408 MB / 0.5343 GB, free: 8.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001456/0.3954, allocations: 1.013 MB / 0.5353 GB, free: 8.238 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008139/0.3962, allocations: 0.5991 MB / 0.5359 GB, free: 7.902 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006942/0.3969, allocations: 0.7278 MB / 0.5366 GB, free: 7.434 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000152/0.3971, allocations: 113.5 kB / 0.5367 GB, free: 7.434 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007553/0.3979, allocations: 326 kB / 0.537 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002126/0.3981, allocations: 302 kB / 0.5373 GB, free: 7.094 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000576/0.3987, allocations: 0.6532 MB / 0.538 GB, free: 6.641 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00203/0.4007, allocations: 1.762 MB / 0.5397 GB, free: 5.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.4007, allocations: 1.031 kB / 0.5397 GB, free: 5.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4007, allocations: 0 / 0.5397 GB, free: 5.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.865e-05/0.4008, allocations: 0 / 0.5397 GB, free: 5.34 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.007738/0.4085, allocations: 2.42 MB / 0.542 GB, free: 3.766 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/0.4086, allocations: 7.5 kB / 0.542 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/0.4187, allocations: 1.402 MB / 0.5434 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.42, allocations: 0.6008 MB / 0.544 GB, free: 2.652 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.791e-05/0.4201, allocations: 104.2 kB / 0.5441 GB, free: 2.602 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002173/0.4203, allocations: 133.1 kB / 0.5442 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002533/0.4228, allocations: 1.482 MB / 0.5457 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.798e-05/0.4229, allocations: 8 kB / 0.5457 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/0.4231, allocations: 52 kB / 0.5457 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.046e-05/0.4231, allocations: 43.98 kB / 0.5458 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002437/0.4255, allocations: 1.505 MB / 0.5472 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007482/0.433, allocations: 5.355 MB / 0.5525 GB, free: 9.863 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/0.4353, allocations: 2.178 MB / 0.5546 GB, free: 7.441 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009672/0.4363, allocations: 0.6476 MB / 0.5552 GB, free: 6.789 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.4364, allocations: 102.1 kB / 0.5553 GB, free: 6.672 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.4365, allocations: 43.56 kB / 0.5554 GB, free: 6.621 MB / 414.1 MB Notification: Performance of pre-optimization done (n=127): time 3.126e-06/0.4365, allocations: 0 / 0.5554 GB, free: 6.621 MB / 414.1 MB Notification: Performance of matching and sorting (n=127): time 0.008719/0.4452, allocations: 3.106 MB / 0.5584 GB, free: 3.484 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.4453, allocations: 90.14 kB / 0.5585 GB, free: 3.379 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005/0.4458, allocations: 469.9 kB / 0.5589 GB, free: 2.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.628e-05/0.4459, allocations: 49.64 kB / 0.559 GB, free: 2.855 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/0.4461, allocations: 488.8 kB / 0.5594 GB, free: 2.371 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002968/0.4464, allocations: 440.2 kB / 0.5599 GB, free: 1.938 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003197/0.4467, allocations: 218.8 kB / 0.5601 GB, free: 1.719 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4469, allocations: 386.7 kB / 0.5604 GB, free: 1.332 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008103/0.4477, allocations: 454.5 kB / 0.5609 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009443/0.4487, allocations: 0.6879 MB / 0.5616 GB, free: 112 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001826/0.4505, allocations: 1.194 MB / 0.5627 GB, free: 14.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.4505, allocations: 4 kB / 0.5627 GB, free: 14.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002862/0.4534, allocations: 1.606 MB / 0.5643 GB, free: 13.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.4534, allocations: 10.81 kB / 0.5643 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.4534, allocations: 4 kB / 0.5643 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001582/0.455, allocations: 0.524 MB / 0.5648 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007899/0.4558, allocations: 199.7 kB / 0.565 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002039/0.4561, allocations: 49.2 kB / 0.5651 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000758/0.4568, allocations: 135 kB / 0.5652 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.4569, allocations: 48 kB / 0.5652 GB, free: 12.24 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep4.y,booleanStep3.y,booleanStep2.y,booleanStep1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0004512/0.4574, allocations: 269.6 kB / 0.5655 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/0.4576, allocations: 87.47 kB / 0.5656 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002792/0.4604, allocations: 1.564 MB / 0.5671 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/0.4604, allocations: 7.984 kB / 0.5671 GB, free: 10.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.4604, allocations: 7.938 kB / 0.5671 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004802/0.4609, allocations: 280.2 kB / 0.5674 GB, free: 9.996 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001729/0.4611, allocations: 31.89 kB / 0.5674 GB, free: 9.965 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006593/0.4618, allocations: 47.97 kB / 0.5675 GB, free: 9.918 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001857/0.4619, allocations: 73.2 kB / 0.5675 GB, free: 9.844 MB / 430.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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(-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.s4.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real 2: idealIntermediateSwitch.s4.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:528:7-530: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.Units.SI.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): 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) 4/6 (1): -idealIntermediateSwitch.p2.i.re = (-idealCommutingSwitch.s2.re) * (if booleanStep2.y then 1.0 else idealCommutingSwitch.Goff) 5/7 (1): idealClosingSwitch.pin_n.v.re - idealCommutingSwitch.n2.v.re = idealCommutingSwitch.s2.re * (if booleanStep2.y then idealCommutingSwitch.Ron else 1.0) 6/8 (1): idealCommutingSwitch.n2.v.re - idealIntermediateSwitch.n1.v.re = idealIntermediateSwitch.s4.re * (if booleanStep3.y then idealIntermediateSwitch.Ron else 1.0) 7/9 (1): admittance.v.re = idealIntermediateSwitch.n1.v.re - variableAdmittance.v.re 8/10 (1): variableAdmittance.i.re = admittance.G_actual * admittance.v.re - admittance.B_ref * admittance.v.im 9/11 (1): variableAdmittance.i.re = variableAdmittance.G_actual * variableAdmittance.v.re - const_admittance.k.im * variableAdmittance.v.im 10/12 (1): variableAdmittance.i.im = variableAdmittance.G_actual * variableAdmittance.v.im + const_admittance.k.im * variableAdmittance.v.re 11/13 (1): admittance.v.im = idealIntermediateSwitch.n1.v.im - variableAdmittance.v.im 12/14 (1): variableAdmittance.i.im = admittance.G_actual * admittance.v.im + admittance.B_ref * admittance.v.re 13/15 (2): Modelica.Units.SI.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) 14/17 (1): idealCommutingSwitch.n2.v.im - idealIntermediateSwitch.n1.v.im = idealIntermediateSwitch.s4.im * (if booleanStep3.y then idealIntermediateSwitch.Ron else 1.0) 15/18 (1): idealCommutingSwitch.n1.v.im - idealIntermediateSwitch.n1.v.im = idealIntermediateSwitch.s1.im * (if booleanStep3.y then 1.0 else idealIntermediateSwitch.Ron) 16/19 (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) 17/21 (1): idealCommutingSwitch.n1.v.re - idealIntermediateSwitch.n1.v.re = idealIntermediateSwitch.s1.re * (if booleanStep3.y then 1.0 else idealIntermediateSwitch.Ron) 18/22 (1): idealCommutingSwitch.n1.v.re - idealIntermediateSwitch.n2.v.re = idealIntermediateSwitch.s3.re * (if booleanStep3.y then idealIntermediateSwitch.Ron else 1.0) 19/23 (1): idealClosingSwitch.pin_n.v.re - idealCommutingSwitch.n1.v.re = idealCommutingSwitch.s1.re * (if booleanStep2.y then 1.0 else idealCommutingSwitch.Ron) 20/24 (1): idealClosingSwitch.v.re = idealOpeningSwitch.pin_n.v.re - idealClosingSwitch.pin_n.v.re 21/25 (1): idealClosingSwitch.v.re = idealClosingSwitch.s.re * (if booleanStep1.y then idealClosingSwitch.Ron else 1.0) 22/26 (1): idealClosingSwitch.i.re = idealClosingSwitch.s.re * (if booleanStep1.y then 1.0 else idealClosingSwitch.Goff) 23/27 (1): idealClosingSwitch.i.re = idealOpeningSwitch.s.re * (if booleanStep4.y then idealOpeningSwitch.Goff else 1.0) 24/28 (1): idealOpeningSwitch.v.re = idealOpeningSwitch.s.re * (if booleanStep4.y then 1.0 else idealOpeningSwitch.Ron) 25/29 (1): idealOpeningSwitch.v.re = voltageSource.v.re - idealOpeningSwitch.pin_n.v.re 26/30 (1): idealClosingSwitch.i.re + (-idealIntermediateSwitch.p2.i.re) - idealIntermediateSwitch.p1.i.re = 0.0 27/31 (1): -idealIntermediateSwitch.p1.i.re = (-idealCommutingSwitch.s1.re) * (if booleanStep2.y then idealCommutingSwitch.Goff else 1.0) 28/32 (1): idealCommutingSwitch.n2.v.re - idealIntermediateSwitch.n2.v.re = idealIntermediateSwitch.s2.re * (if booleanStep3.y then 1.0 else idealIntermediateSwitch.Ron) 29/33 (1): impedance.v.re = idealIntermediateSwitch.n2.v.re - variableImpedance.v.re 30/34 (1): variableImpedance.v.re = variableImpedance.R_actual * variableImpedance.i.re - const_impedance.k.im * variableImpedance.i.im 31/35 (1): variableImpedance.v.im = variableImpedance.R_actual * variableImpedance.i.im + const_impedance.k.im * variableImpedance.i.re 32/36 (1): impedance.v.im = idealIntermediateSwitch.n2.v.im - variableImpedance.v.im 33/37 (1): impedance.v.im = impedance.R_actual * variableImpedance.i.im + impedance.X_ref * variableImpedance.i.re 34/38 (1): impedance.v.re = impedance.R_actual * variableImpedance.i.re - impedance.X_ref * variableImpedance.i.im 35/39 (1): -idealIntermediateSwitch.p2.i.im = (-idealCommutingSwitch.s2.im) * (if booleanStep2.y then 1.0 else idealCommutingSwitch.Goff) 36/40 (1): idealClosingSwitch.pin_n.v.im - idealCommutingSwitch.n2.v.im = idealCommutingSwitch.s2.im * (if booleanStep2.y then idealCommutingSwitch.Ron else 1.0) 37/41 (1): idealClosingSwitch.v.im = idealOpeningSwitch.pin_n.v.im - idealClosingSwitch.pin_n.v.im 38/42 (1): idealClosingSwitch.v.im = idealClosingSwitch.s.im * (if booleanStep1.y then idealClosingSwitch.Ron else 1.0) 39/43 (1): idealClosingSwitch.i.im = idealClosingSwitch.s.im * (if booleanStep1.y then 1.0 else idealClosingSwitch.Goff) 40/44 (1): idealClosingSwitch.i.im = idealOpeningSwitch.s.im * (if booleanStep4.y then idealOpeningSwitch.Goff else 1.0) 41/45 (1): idealOpeningSwitch.v.im = idealOpeningSwitch.s.im * (if booleanStep4.y then 1.0 else idealOpeningSwitch.Ron) 42/46 (1): idealOpeningSwitch.v.im = voltageSource.v.im - idealOpeningSwitch.pin_n.v.im 43/47 (1): idealClosingSwitch.pin_n.v.im - idealCommutingSwitch.n1.v.im = idealCommutingSwitch.s1.im * (if booleanStep2.y then 1.0 else idealCommutingSwitch.Ron) 44/48 (1): idealCommutingSwitch.n1.v.im - idealIntermediateSwitch.n2.v.im = idealIntermediateSwitch.s3.im * (if booleanStep3.y then idealIntermediateSwitch.Ron else 1.0) 45/49 (1): idealCommutingSwitch.n2.v.im - idealIntermediateSwitch.n2.v.im = idealIntermediateSwitch.s2.im * (if booleanStep3.y then 1.0 else idealIntermediateSwitch.Ron) 46/50 (1): -idealIntermediateSwitch.p1.i.im = (-idealCommutingSwitch.s1.im) * (if booleanStep2.y then idealCommutingSwitch.Goff else 1.0) Variables: 1: idealCommutingSwitch.s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real 2: idealCommutingSwitch.n2.v.im:VARIABLE(flow=false unit = "V" ) "Imaginary part of complex number" type: Real 3: idealIntermediateSwitch.n2.v.im:VARIABLE(flow=false unit = "V" ) "Imaginary part of complex number" type: Real 4: idealCommutingSwitch.n1.v.im:VARIABLE(flow=false unit = "V" ) "Imaginary part of complex number" type: Real 5: idealOpeningSwitch.pin_n.v.im:VARIABLE(flow=false unit = "V" ) "Imaginary part of complex number" type: Real 6: idealOpeningSwitch.v.im:VARIABLE(unit = "V" ) "Imaginary part of complex number" type: Real 7: idealOpeningSwitch.s.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real 8: idealClosingSwitch.i.im:VARIABLE(unit = "A" ) "Imaginary part of complex number" type: Real 9: idealClosingSwitch.s.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real 10: idealClosingSwitch.v.im:VARIABLE(unit = "V" ) "Imaginary part of complex number" type: Real 11: idealClosingSwitch.pin_n.v.im:VARIABLE(flow=false unit = "V" ) "Imaginary part of complex number" type: Real 12: idealCommutingSwitch.s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real 13: impedance.v.re:VARIABLE(unit = "V" ) "Real part of complex number" type: Real 14: variableImpedance.i.re:VARIABLE(unit = "A" ) "Real part of complex number" type: Real 15: impedance.v.im:VARIABLE(unit = "V" ) "Imaginary part of complex number" type: Real 16: variableImpedance.v.im:VARIABLE(unit = "V" ) "Imaginary part of complex number" type: Real 17: variableImpedance.i.im:VARIABLE(unit = "A" ) "Imaginary part of complex number" type: Real 18: variableImpedance.v.re:VARIABLE(unit = "V" ) "Real part of complex number" type: Real 19: idealIntermediateSwitch.n2.v.re:VARIABLE(flow=false unit = "V" ) "Real part of complex number" type: Real 20: idealCommutingSwitch.s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real 21: idealIntermediateSwitch.p1.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex number" type: Real 22: idealOpeningSwitch.pin_n.v.re:VARIABLE(flow=false unit = "V" ) "Real part of complex number" type: Real 23: idealOpeningSwitch.v.re:VARIABLE(unit = "V" ) "Real part of complex number" type: Real 24: idealOpeningSwitch.s.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real 25: idealClosingSwitch.i.re:VARIABLE(unit = "A" ) "Real part of complex number" type: Real 26: idealClosingSwitch.s.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real 27: idealClosingSwitch.v.re:VARIABLE(unit = "V" ) "Real part of complex number" type: Real 28: idealClosingSwitch.pin_n.v.re:VARIABLE(flow=false unit = "V" ) "Real part of complex number" type: Real 29: idealIntermediateSwitch.s3.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real 30: idealCommutingSwitch.n1.v.re:VARIABLE(flow=false unit = "V" ) "Real part of complex number" type: Real 31: idealIntermediateSwitch.s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real 32: idealIntermediateSwitch.s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real 33: idealIntermediateSwitch.n1.v.im:VARIABLE(flow=false unit = "V" ) "Imaginary part of complex number" type: Real 34: idealIntermediateSwitch.s4.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real 35: idealIntermediateSwitch.s4.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real 36: variableAdmittance.i.im:VARIABLE(unit = "A" ) "Imaginary part of complex number" type: Real 37: admittance.v.im:VARIABLE(unit = "V" ) "Imaginary part of complex number" type: Real 38: variableAdmittance.v.re:VARIABLE(unit = "V" ) "Real part of complex number" type: Real 39: variableAdmittance.v.im:VARIABLE(unit = "V" ) "Imaginary part of complex number" type: Real 40: variableAdmittance.i.re:VARIABLE(unit = "A" ) "Real part of complex number" type: Real 41: admittance.v.re:VARIABLE(unit = "V" ) "Real part of complex number" type: Real 42: idealIntermediateSwitch.n1.v.re:VARIABLE(flow=false unit = "V" ) "Real part of complex number" type: Real 43: idealCommutingSwitch.n2.v.re:VARIABLE(flow=false unit = "V" ) "Real part of complex number" type: Real 44: idealCommutingSwitch.s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real 45: idealIntermediateSwitch.p2.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex number" type: Real 46: idealIntermediateSwitch.p2.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex number" type: Real 47: idealIntermediateSwitch.s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real 48: idealIntermediateSwitch.s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real 49: idealIntermediateSwitch.s3.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real 50: idealIntermediateSwitch.p1.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex number" type: Real [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9805:5-9806:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003392/0.4653, allocations: 3.091 MB / 0.5705 GB, free: 5.961 MB / 430.1 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal could not be translated