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.001247/0.001247, allocations: 111.7 kB / 18.46 MB, free: 4.613 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.001222/0.001222, allocations: 186 kB / 19.39 MB, free: 3.688 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.357/1.357, 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.2067/0.2067, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 63.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3475, allocations: 60.82 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008963/0.3565, allocations: 7.718 MB / 0.5271 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005484/0.362, allocations: 2.368 MB / 0.5294 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006661/0.3627, allocations: 26.12 kB / 0.5294 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004079/0.3668, allocations: 1.82 MB / 0.5312 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002528/0.3693, allocations: 0.8708 MB / 0.5321 GB, free: 10.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002036/0.3714, allocations: 0.8884 MB / 0.5329 GB, free: 9.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001982/0.3734, allocations: 1.412 MB / 0.5343 GB, free: 8.867 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001539/0.3749, allocations: 1 MB / 0.5353 GB, free: 8.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008964/0.3758, allocations: 0.6013 MB / 0.5359 GB, free: 7.914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007561/0.3766, allocations: 0.7305 MB / 0.5366 GB, free: 7.441 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001757/0.3768, allocations: 117.1 kB / 0.5367 GB, free: 7.438 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008696/0.3777, allocations: 325.9 kB / 0.537 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00026/0.3779, allocations: 302.4 kB / 0.5373 GB, free: 7.098 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006522/0.3786, allocations: 0.6535 MB / 0.538 GB, free: 6.645 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002011/0.3806, allocations: 1.753 MB / 0.5397 GB, free: 5.352 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3806, allocations: 1.188 kB / 0.5397 GB, free: 5.352 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3806, allocations: 0 / 0.5397 GB, free: 5.352 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.017e-05/0.3807, allocations: 0 / 0.5397 GB, free: 5.352 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.007248/0.3879, allocations: 2.417 MB / 0.542 GB, free: 3.777 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.388, allocations: 8.375 kB / 0.542 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00961/0.3976, allocations: 1.398 MB / 0.5434 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.3991, allocations: 0.616 MB / 0.544 GB, free: 2.652 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.3992, allocations: 100.6 kB / 0.5441 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002164/0.3994, allocations: 129.6 kB / 0.5442 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00252/0.4019, allocations: 1.486 MB / 0.5457 GB, free: 1.133 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.371e-05/0.402, allocations: 4 kB / 0.5457 GB, free: 1.129 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/0.4021, allocations: 60 kB / 0.5457 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.062e-05/0.4022, allocations: 32 kB / 0.5458 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002405/0.4046, allocations: 1.513 MB / 0.5472 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007476/0.4121, allocations: 5.351 MB / 0.5525 GB, free: 9.895 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002262/0.4144, allocations: 2.182 MB / 0.5546 GB, free: 7.469 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009275/0.4153, allocations: 0.6437 MB / 0.5552 GB, free: 6.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001481/0.4155, allocations: 106.1 kB / 0.5553 GB, free: 6.699 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.4155, allocations: 43.56 kB / 0.5554 GB, free: 6.648 MB / 414.1 MB Notification: Performance of pre-optimization done (n=127): time 3.867e-06/0.4155, allocations: 0 / 0.5554 GB, free: 6.648 MB / 414.1 MB Notification: Performance of matching and sorting (n=127): time 0.008451/0.424, allocations: 3.106 MB / 0.5584 GB, free: 3.512 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.4241, allocations: 102 kB / 0.5585 GB, free: 3.395 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005989/0.4247, allocations: 465.9 kB / 0.5589 GB, free: 2.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.176e-05/0.4248, allocations: 49.69 kB / 0.559 GB, free: 2.875 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003296/0.4251, allocations: 472.9 kB / 0.5594 GB, free: 2.406 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000341/0.4255, allocations: 444.2 kB / 0.5599 GB, free: 1.969 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003502/0.4258, allocations: 214.9 kB / 0.5601 GB, free: 1.754 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.426, allocations: 382.7 kB / 0.5604 GB, free: 1.371 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007958/0.4268, allocations: 462.4 kB / 0.5609 GB, free: 0.918 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009871/0.4278, allocations: 0.6918 MB / 0.5615 GB, free: 140 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00179/0.4296, allocations: 1.194 MB / 0.5627 GB, free: 14.85 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.4296, allocations: 8 kB / 0.5627 GB, free: 14.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002709/0.4324, allocations: 1.594 MB / 0.5643 GB, free: 13.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.4324, allocations: 8 kB / 0.5643 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.4324, allocations: 11.98 kB / 0.5643 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/0.4339, allocations: 0.532 MB / 0.5648 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007302/0.4346, allocations: 195.7 kB / 0.565 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001764/0.4348, allocations: 49.2 kB / 0.5651 GB, free: 12.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006979/0.4355, allocations: 135 kB / 0.5652 GB, free: 12.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.735e-05/0.4356, allocations: 51.98 kB / 0.5652 GB, free: 12.26 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.0004376/0.436, allocations: 273.5 kB / 0.5655 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/0.4362, allocations: 83.48 kB / 0.5656 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002622/0.4388, allocations: 1.556 MB / 0.5671 GB, free: 10.33 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.42e-05/0.4389, allocations: 11.97 kB / 0.5671 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.4389, allocations: 7.938 kB / 0.5671 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004207/0.4393, allocations: 276.2 kB / 0.5674 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.4394, allocations: 27.89 kB / 0.5674 GB, free: 9.996 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000542/0.44, allocations: 47.97 kB / 0.5674 GB, free: 9.949 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/0.4402, allocations: 73.2 kB / 0.5675 GB, free: 9.875 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.003232/0.4434, allocations: 3.09 MB / 0.5705 GB, free: 5.992 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