Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3.2.3_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_3.2.3_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.001649/0.001649, allocations: 112 kB / 17.09 MB, free: 5.934 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.00204/0.002041, allocations: 195.4 kB / 18.02 MB, free: 5.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.1 MB / 223.9 MB, free: 12.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1963/0.1963, allocations: 43.52 MB / 314.8 MB, free: 444 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 69.45 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09713/0.09869, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008554/0.1073, allocations: 7.72 MB / 0.4961 GB, free: 4.031 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004683/0.112, allocations: 2.372 MB / 0.4984 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.1132, allocations: 24 kB / 0.4984 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004353/0.1177, allocations: 1.812 MB / 0.5002 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002738/0.1204, allocations: 0.9012 MB / 0.5011 GB, free: 14.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002163/0.1226, allocations: 0.8804 MB / 0.5019 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002117/0.1247, allocations: 1.44 MB / 0.5033 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001708/0.1264, allocations: 1.012 MB / 0.5043 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.1275, allocations: 0.6189 MB / 0.5049 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.1286, allocations: 0.7354 MB / 0.5057 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003639/0.129, allocations: 112 kB / 0.5058 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.1301, allocations: 335.8 kB / 0.5061 GB, free: 9.73 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003876/0.1305, allocations: 310.8 kB / 0.5064 GB, free: 9.426 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008992/0.1314, allocations: 0.6686 MB / 0.507 GB, free: 8.754 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002501/0.1339, allocations: 1.77 MB / 0.5088 GB, free: 6.977 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1339, allocations: 0 / 0.5088 GB, free: 6.977 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1339, allocations: 0 / 0.5088 GB, free: 6.977 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.33e-05/0.134, allocations: 0 / 0.5088 GB, free: 6.977 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: 349 * Number of variables: 349 Notification: Performance of Generate backend data structure: time 0.007856/0.1419, allocations: 2.437 MB / 0.5111 GB, free: 4.484 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.1419, allocations: 11.89 kB / 0.5112 GB, free: 4.473 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01085/0.1528, allocations: 1.502 MB / 0.5126 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.1542, allocations: 0.6327 MB / 0.5132 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.1543, allocations: 103.1 kB / 0.5133 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003784/0.1547, allocations: 128.4 kB / 0.5135 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003197/0.1579, allocations: 1.531 MB / 0.515 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.218e-05/0.158, allocations: 11.95 kB / 0.515 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001648/0.1582, allocations: 52 kB / 0.515 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.58e-05/0.1582, allocations: 36 kB / 0.515 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003014/0.1612, allocations: 1.587 MB / 0.5166 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008608/0.1699, allocations: 5.532 MB / 0.522 GB, free: 8.973 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002442/0.1723, allocations: 2.351 MB / 0.5243 GB, free: 6.359 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.1734, allocations: 0.6684 MB / 0.525 GB, free: 5.688 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001441/0.1735, allocations: 102.1 kB / 0.525 GB, free: 5.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.1736, allocations: 51.56 kB / 0.5251 GB, free: 5.512 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.116e-06/0.1736, allocations: 0 / 0.5251 GB, free: 5.512 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.009298/0.1829, allocations: 3.172 MB / 0.5282 GB, free: 2.309 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.183, allocations: 90.11 kB / 0.5283 GB, free: 2.203 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007191/0.1837, allocations: 485.9 kB / 0.5287 GB, free: 1.715 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.972e-05/0.1838, allocations: 45.7 kB / 0.5288 GB, free: 1.664 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000359/0.1842, allocations: 0.4891 MB / 0.5293 GB, free: 1.168 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003627/0.1845, allocations: 452.1 kB / 0.5297 GB, free: 0.7227 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003719/0.1849, allocations: 230.9 kB / 0.5299 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.1851, allocations: 382.8 kB / 0.5303 GB, free: 112 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2044/0.3895, allocations: 463.8 kB / 0.5307 GB, free: 38.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.3907, allocations: 0.7432 MB / 0.5314 GB, free: 38.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001831/0.3926, allocations: 1.256 MB / 0.5327 GB, free: 38.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/0.3926, allocations: 2.781 kB / 0.5327 GB, free: 38.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002944/0.3955, allocations: 1.679 MB / 0.5343 GB, free: 38.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.3956, allocations: 7.906 kB / 0.5343 GB, free: 38.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.3956, allocations: 8.562 kB / 0.5343 GB, free: 38.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001511/0.3971, allocations: 0.5288 MB / 0.5349 GB, free: 38.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007953/0.3979, allocations: 212.3 kB / 0.5351 GB, free: 38.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002055/0.3981, allocations: 59.77 kB / 0.5351 GB, free: 38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006582/0.3988, allocations: 130.6 kB / 0.5352 GB, free: 38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.95e-05/0.3989, allocations: 55.91 kB / 0.5353 GB, free: 38 MB / 414.1 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 (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 (120): * Single equations (assignments): 119 * 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.0003985/0.3993, allocations: 276.6 kB / 0.5356 GB, free: 37.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.3994, allocations: 93.09 kB / 0.5356 GB, free: 37.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002577/0.402, allocations: 1.577 MB / 0.5372 GB, free: 37.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/0.4021, allocations: 7.484 kB / 0.5372 GB, free: 37.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.4021, allocations: 0 / 0.5372 GB, free: 37.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003225/0.4024, allocations: 286.2 kB / 0.5375 GB, free: 37.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.4025, allocations: 32.16 kB / 0.5375 GB, free: 37.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005385/0.4031, allocations: 45.09 kB / 0.5375 GB, free: 37.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001922/0.4033, allocations: 79.56 kB / 0.5376 GB, free: 37.02 MB / 414.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.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/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.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/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.002919/0.4062, allocations: 3.186 MB / 0.5407 GB, free: 34 MB / 414.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