Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 204.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.46/1.46, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.223/0.223, allocations: 46.97 MB / 361.6 MB, free: 4.059 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 63.91 kB / 0.4973 GB, free: 7.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2934, allocations: 66.03 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009057/0.3025, allocations: 6.813 MB / 0.5685 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004869/0.3073, allocations: 2.287 MB / 0.5707 GB, free: 11.05 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004568/0.3078, allocations: 27.94 kB / 0.5707 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004032/0.3118, allocations: 1.691 MB / 0.5724 GB, free: 9.328 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.3138, allocations: 0.7142 MB / 0.5731 GB, free: 8.613 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002343/0.3161, allocations: 1.023 MB / 0.5741 GB, free: 7.598 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001694/0.3178, allocations: 1.42 MB / 0.5755 GB, free: 6.168 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001354/0.3192, allocations: 0.934 MB / 0.5764 GB, free: 5.211 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000785/0.3199, allocations: 0.6267 MB / 0.577 GB, free: 4.582 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008236/0.3208, allocations: 0.7237 MB / 0.5777 GB, free: 3.855 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001703/0.3209, allocations: 112 kB / 0.5778 GB, free: 3.746 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007075/0.3216, allocations: 331.8 kB / 0.5781 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002566/0.3219, allocations: 294.9 kB / 0.5784 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005241/0.3224, allocations: 0.5404 MB / 0.5789 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002078/0.3245, allocations: 1.789 MB / 0.5807 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3245, allocations: 0 / 0.5807 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3245, allocations: 0 / 0.5807 GB, free: 0.7969 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.651e-05/0.3245, allocations: 3.938 kB / 0.5807 GB, free: 0.793 MB / 414.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.007752/0.3323, allocations: 2.334 MB / 0.583 GB, free: 14.42 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.3323, allocations: 8.031 kB / 0.583 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0101/0.3424, allocations: 1.335 MB / 0.5843 GB, free: 13.08 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.3438, allocations: 0.5567 MB / 0.5848 GB, free: 12.49 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.982e-05/0.3439, allocations: 103 kB / 0.5849 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002351/0.3442, allocations: 128.4 kB / 0.585 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00296/0.3471, allocations: 1.591 MB / 0.5866 GB, free: 10.6 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.249e-05/0.3472, allocations: 11.95 kB / 0.5866 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001393/0.3473, allocations: 56 kB / 0.5867 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.261e-05/0.3473, allocations: 32 kB / 0.5867 GB, free: 10.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002718/0.35, allocations: 1.509 MB / 0.5882 GB, free: 8.988 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007783/0.3578, allocations: 4.274 MB / 0.5923 GB, free: 4.582 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002086/0.3599, allocations: 1.072 MB / 0.5934 GB, free: 3.512 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009621/0.3609, allocations: 0.5382 MB / 0.5939 GB, free: 2.969 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001418/0.361, allocations: 44.89 kB / 0.594 GB, free: 2.926 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.08e-05/0.3611, allocations: 59.55 kB / 0.594 GB, free: 2.855 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.286e-06/0.3611, allocations: 0 / 0.594 GB, free: 2.855 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.009148/0.3702, allocations: 2.99 MB / 0.5969 GB, free: 15.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.31e-05/0.3703, allocations: 90.11 kB / 0.597 GB, free: 15.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005104/0.3708, allocations: 421.7 kB / 0.5974 GB, free: 15.33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.325e-05/0.3709, allocations: 49.73 kB / 0.5975 GB, free: 15.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003409/0.3712, allocations: 484.8 kB / 0.5979 GB, free: 14.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003944/0.3716, allocations: 444.2 kB / 0.5983 GB, free: 14.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003718/0.372, allocations: 218.8 kB / 0.5986 GB, free: 14.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002066/0.3722, allocations: 382.7 kB / 0.5989 GB, free: 13.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008696/0.3731, allocations: 454.4 kB / 0.5994 GB, free: 13.31 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/0.3742, allocations: 0.6958 MB / 0.6 GB, free: 12.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002009/0.3762, allocations: 1.209 MB / 0.6012 GB, free: 11.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/0.3762, allocations: 4 kB / 0.6012 GB, free: 11.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003056/0.3792, allocations: 1.57 MB / 0.6028 GB, free: 9.637 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.3792, allocations: 11.98 kB / 0.6028 GB, free: 9.625 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.3793, allocations: 8 kB / 0.6028 GB, free: 9.617 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001624/0.3809, allocations: 0.5203 MB / 0.6033 GB, free: 9.094 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008454/0.3817, allocations: 203.6 kB / 0.6035 GB, free: 8.895 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002109/0.3819, allocations: 53.2 kB / 0.6035 GB, free: 8.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000678/0.3826, allocations: 119.2 kB / 0.6036 GB, free: 8.723 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.3827, allocations: 51.98 kB / 0.6037 GB, free: 8.672 MB / 446.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.0004668/0.3832, allocations: 273.5 kB / 0.604 GB, free: 8.395 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.3834, allocations: 79.48 kB / 0.604 GB, free: 8.316 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002954/0.3863, allocations: 1.544 MB / 0.6055 GB, free: 6.758 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.3863, allocations: 3.984 kB / 0.6055 GB, free: 6.754 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.3863, allocations: 4 kB / 0.6055 GB, free: 6.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004373/0.3868, allocations: 199 kB / 0.6057 GB, free: 6.555 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.3869, allocations: 27.94 kB / 0.6058 GB, free: 6.527 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005651/0.3875, allocations: 47.98 kB / 0.6058 GB, free: 6.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.3876, allocations: 73.16 kB / 0.6059 GB, free: 6.41 MB / 446.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:521:7-523: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:521:7-523: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:9812:5-9813:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003717/0.3913, allocations: 3.09 MB / 0.6089 GB, free: 2.523 MB / 446.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 " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.956410638995294] Failed to read output from testmodel.py, exit status != 0: ['time', 'I.re', 'I.im'] 0.3996820429965737 0.413342456 0.085801138 Calling exit ...