Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001095/0.001095, allocations: 108.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001228/0.001228, allocations: 214.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2167/0.2167, allocations: 46.11 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 71.88 kB / 482 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3117, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.008237/0.32, allocations: 7.755 MB / 0.5392 GB, free: 7.422 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004484/0.3245, allocations: 2.403 MB / 0.5416 GB, free: 5.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000626/0.3251, allocations: 34.66 kB / 0.5416 GB, free: 5.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003848/0.329, allocations: 1.813 MB / 0.5434 GB, free: 4.086 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002132/0.3312, allocations: 0.6996 MB / 0.5441 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00242/0.3336, allocations: 1.084 MB / 0.5451 GB, free: 2.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001911/0.3355, allocations: 1.414 MB / 0.5465 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001498/0.337, allocations: 1.008 MB / 0.5475 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009359/0.338, allocations: 0.6043 MB / 0.5481 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007813/0.3388, allocations: 0.7314 MB / 0.5488 GB, free: 136 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001557/0.3389, allocations: 112 kB / 0.5489 GB, free: 24 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008233/0.3397, allocations: 331.8 kB / 0.5492 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002223/0.34, allocations: 298.9 kB / 0.5495 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005931/0.3406, allocations: 0.653 MB / 0.5501 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002034/0.3426, allocations: 1.773 MB / 0.5519 GB, free: 12.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3426, allocations: 0 / 0.5519 GB, free: 12.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3427, allocations: 0 / 0.5519 GB, free: 12.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.041e-05/0.3427, allocations: 0 / 0.5519 GB, free: 12.97 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.007095/0.3498, allocations: 2.377 MB / 0.5542 GB, free: 10.54 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.3498, allocations: 8.031 kB / 0.5542 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009819/0.3597, allocations: 1.393 MB / 0.5556 GB, free: 9.141 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.3611, allocations: 0.6168 MB / 0.5562 GB, free: 8.484 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.881e-05/0.3612, allocations: 95.02 kB / 0.5562 GB, free: 8.391 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002229/0.3614, allocations: 128.4 kB / 0.5564 GB, free: 8.266 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002501/0.3639, allocations: 1.49 MB / 0.5578 GB, free: 6.727 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.929e-05/0.364, allocations: 11.89 kB / 0.5578 GB, free: 6.715 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.3641, allocations: 52 kB / 0.5579 GB, free: 6.664 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.124e-05/0.3642, allocations: 39.94 kB / 0.5579 GB, free: 6.625 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002463/0.3666, allocations: 1.513 MB / 0.5594 GB, free: 5.105 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007534/0.3742, allocations: 5.575 MB / 0.5648 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00234/0.3765, allocations: 2.175 MB / 0.567 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009805/0.3775, allocations: 0.6583 MB / 0.5676 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002046/0.3778, allocations: 191.2 kB / 0.5678 GB, free: 11.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.3778, allocations: 43.56 kB / 0.5678 GB, free: 11.85 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 3.877e-06/0.3778, allocations: 0 / 0.5678 GB, free: 11.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=127): time 0.008475/0.3863, allocations: 3.094 MB / 0.5709 GB, free: 8.727 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.3864, allocations: 90.11 kB / 0.5709 GB, free: 8.621 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005662/0.3869, allocations: 461.9 kB / 0.5714 GB, free: 8.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.304e-05/0.387, allocations: 49.64 kB / 0.5714 GB, free: 8.105 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002891/0.3873, allocations: 467.5 kB / 0.5719 GB, free: 7.641 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000339/0.3877, allocations: 425.8 kB / 0.5723 GB, free: 7.219 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000338/0.388, allocations: 214.8 kB / 0.5725 GB, free: 7.004 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.3882, allocations: 386.7 kB / 0.5729 GB, free: 6.617 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008272/0.389, allocations: 454.5 kB / 0.5733 GB, free: 6.172 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009749/0.39, allocations: 0.6958 MB / 0.574 GB, free: 5.387 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001837/0.3919, allocations: 1.194 MB / 0.5751 GB, free: 4.094 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/0.3919, allocations: 4 kB / 0.5751 GB, free: 4.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.002894/0.3948, allocations: 1.601 MB / 0.5767 GB, free: 2.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.3948, allocations: 8 kB / 0.5767 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.3948, allocations: 4 kB / 0.5767 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001552/0.3964, allocations: 0.5281 MB / 0.5772 GB, free: 1.938 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008172/0.3972, allocations: 199.7 kB / 0.5774 GB, free: 1.742 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002039/0.3974, allocations: 53.2 kB / 0.5775 GB, free: 1.688 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007248/0.3982, allocations: 134.5 kB / 0.5776 GB, free: 1.555 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.436e-05/0.3983, allocations: 44 kB / 0.5776 GB, free: 1.512 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.0004563/0.3987, allocations: 265.6 kB / 0.5779 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002029/0.399, allocations: 91.05 kB / 0.578 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002803/0.4018, allocations: 1.56 MB / 0.5795 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.4018, allocations: 3.984 kB / 0.5795 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.4018, allocations: 7.938 kB / 0.5795 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003896/0.4022, allocations: 287.6 kB / 0.5798 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.4023, allocations: 20 kB / 0.5798 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005984/0.403, allocations: 51.97 kB / 0.5799 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001944/0.4032, allocations: 73.2 kB / 0.5799 GB, free: 15.12 MB / 446.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.003285/0.4064, allocations: 3.088 MB / 0.5829 GB, free: 11.24 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