Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001746/0.001746, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002182/0.002182, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 230.2 MB / 257.8 MB, free: 8.496 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2176/0.2176, allocations: 46.89 MB / 361.1 MB, free: 4.641 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002316/0.002316, allocations: 75.88 kB / 0.4968 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3095, allocations: 65.99 MB / 0.5612 GB, free: 5.02 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009339/0.3189, allocations: 7.807 MB / 0.5688 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004845/0.3237, allocations: 2.443 MB / 0.5712 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005766/0.3243, allocations: 28 kB / 0.5712 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003992/0.3283, allocations: 1.82 MB / 0.573 GB, free: 8.879 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001921/0.3302, allocations: 0.7139 MB / 0.5737 GB, free: 8.164 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002302/0.3325, allocations: 1.081 MB / 0.5748 GB, free: 7.09 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001803/0.3343, allocations: 1.417 MB / 0.5762 GB, free: 5.664 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001337/0.3356, allocations: 0.7743 MB / 0.5769 GB, free: 4.863 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008601/0.3365, allocations: 0.6072 MB / 0.5775 GB, free: 4.254 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008599/0.3374, allocations: 0.7237 MB / 0.5782 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001639/0.3375, allocations: 116 kB / 0.5783 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008192/0.3383, allocations: 335.8 kB / 0.5786 GB, free: 3.086 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003209/0.3387, allocations: 306.8 kB / 0.5789 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006381/0.3393, allocations: 0.6491 MB / 0.5796 GB, free: 2.133 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002209/0.3415, allocations: 1.766 MB / 0.5813 GB, free: 368 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3415, allocations: 4 kB / 0.5813 GB, free: 364 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.3415, allocations: 0 / 0.5813 GB, free: 364 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.625e-05/0.3415, allocations: 0 / 0.5813 GB, free: 364 kB / 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.007742/0.3493, allocations: 2.421 MB / 0.5837 GB, free: 13.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3493, allocations: 8.031 kB / 0.5837 GB, free: 13.87 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009906/0.3592, allocations: 1.331 MB / 0.585 GB, free: 12.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001318/0.3605, allocations: 0.621 MB / 0.5856 GB, free: 11.87 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-05/0.3606, allocations: 103 kB / 0.5857 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002502/0.3609, allocations: 128.4 kB / 0.5858 GB, free: 11.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002806/0.3637, allocations: 1.494 MB / 0.5873 GB, free: 10.1 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.046e-05/0.3637, allocations: 7.953 kB / 0.5873 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/0.3639, allocations: 56 kB / 0.5873 GB, free: 10.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.441e-05/0.3639, allocations: 32 kB / 0.5873 GB, free: 10.01 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002722/0.3666, allocations: 1.521 MB / 0.5888 GB, free: 8.48 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008359/0.375, allocations: 5.608 MB / 0.5943 GB, free: 2.555 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002539/0.3775, allocations: 2.057 MB / 0.5963 GB, free: 260 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001009/0.3785, allocations: 0.5461 MB / 0.5969 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00021/0.3787, allocations: 199.1 kB / 0.597 GB, free: 15.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/0.3788, allocations: 47.56 kB / 0.5971 GB, free: 15.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.196e-06/0.3788, allocations: 0 / 0.5971 GB, free: 15.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=127): time 0.009205/0.388, allocations: 3.079 MB / 0.6001 GB, free: 12.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.3881, allocations: 90.11 kB / 0.6002 GB, free: 12.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005941/0.3887, allocations: 461.9 kB / 0.6006 GB, free: 11.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.3888, allocations: 49.7 kB / 0.6007 GB, free: 11.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003352/0.3891, allocations: 476.9 kB / 0.6011 GB, free: 11.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003747/0.3895, allocations: 440.1 kB / 0.6015 GB, free: 10.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003578/0.3898, allocations: 230.8 kB / 0.6018 GB, free: 10.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.39, allocations: 382.7 kB / 0.6021 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008747/0.3909, allocations: 454.4 kB / 0.6026 GB, free: 9.719 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/0.392, allocations: 0.6997 MB / 0.6032 GB, free: 8.926 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002009/0.394, allocations: 1.202 MB / 0.6044 GB, free: 7.637 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.394, allocations: 4 kB / 0.6044 GB, free: 7.633 MB / 446.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003095/0.3971, allocations: 1.574 MB / 0.606 GB, free: 6.047 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.3971, allocations: 10.5 kB / 0.606 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.3971, allocations: 8 kB / 0.606 GB, free: 6.031 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001586/0.3987, allocations: 0.5281 MB / 0.6065 GB, free: 5.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008071/0.3995, allocations: 195.7 kB / 0.6067 GB, free: 5.309 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002158/0.3998, allocations: 57.2 kB / 0.6067 GB, free: 5.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007271/0.4005, allocations: 127.1 kB / 0.6069 GB, free: 5.125 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/0.4006, allocations: 51.98 kB / 0.6069 GB, free: 5.074 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.0004972/0.4011, allocations: 265.6 kB / 0.6072 GB, free: 4.805 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.4013, allocations: 83.48 kB / 0.6072 GB, free: 4.723 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003067/0.4044, allocations: 1.548 MB / 0.6087 GB, free: 3.164 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.751e-05/0.4044, allocations: 7.969 kB / 0.6088 GB, free: 3.156 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.4044, allocations: 7.938 kB / 0.6088 GB, free: 3.148 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005187/0.4049, allocations: 288.1 kB / 0.609 GB, free: 2.848 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/0.4051, allocations: 20 kB / 0.6091 GB, free: 2.828 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000613/0.4057, allocations: 39.98 kB / 0.6091 GB, free: 2.789 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001735/0.4059, allocations: 81.19 kB / 0.6092 GB, free: 2.711 MB / 446.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/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_2/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9810:5-9811:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004025/0.4099, allocations: 3.096 MB / 0.6122 GB, free: 14.81 MB / 462.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.9932839600369334] Failed to read output from testmodel.py, exit status != 0: ['time', 'I.re', 'I.im'] 0.419099526014179 0.432877041 0.088410523 Calling exit ...