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.001287/0.001287, allocations: 106.9 kB / 17.09 MB, free: 6.012 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.001341/0.001342, allocations: 198.2 kB / 18.02 MB, free: 5.094 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.359/1.359, allocations: 205.1 MB / 223.9 MB, free: 12.28 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.199/0.199, allocations: 43.54 MB / 314.8 MB, free: 456 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.001531/0.001531, allocations: 67.91 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09943/0.101, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.009088/0.1101, allocations: 7.723 MB / 0.4961 GB, free: 4.039 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004748/0.1149, allocations: 2.365 MB / 0.4984 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000978/0.1159, allocations: 27.94 kB / 0.4984 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004211/0.1201, allocations: 1.808 MB / 0.5002 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00256/0.1227, allocations: 0.909 MB / 0.5011 GB, free: 14.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00226/0.125, allocations: 0.8805 MB / 0.5019 GB, free: 14.02 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002551/0.1275, allocations: 1.44 MB / 0.5033 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001824/0.1294, allocations: 1.001 MB / 0.5043 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/0.1304, allocations: 0.615 MB / 0.5049 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001274/0.1317, allocations: 0.747 MB / 0.5057 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003779/0.1321, allocations: 116 kB / 0.5058 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009587/0.1331, allocations: 335.7 kB / 0.5061 GB, free: 9.738 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003381/0.1334, allocations: 306.8 kB / 0.5064 GB, free: 9.438 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008814/0.1343, allocations: 0.6647 MB / 0.507 GB, free: 8.77 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002398/0.1367, allocations: 1.771 MB / 0.5088 GB, free: 6.992 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1367, allocations: 0 / 0.5088 GB, free: 6.992 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1368, allocations: 0 / 0.5088 GB, free: 6.992 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.554e-05/0.1368, allocations: 0 / 0.5088 GB, free: 6.992 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.007888/0.1447, allocations: 2.404 MB / 0.5111 GB, free: 4.535 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.1448, allocations: 11.89 kB / 0.5111 GB, free: 4.523 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01074/0.1555, allocations: 1.498 MB / 0.5126 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001404/0.157, allocations: 0.6246 MB / 0.5132 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.1571, allocations: 103.1 kB / 0.5133 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003648/0.1575, allocations: 136.3 kB / 0.5134 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00331/0.1608, allocations: 1.527 MB / 0.5149 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.955e-05/0.1609, allocations: 3.938 kB / 0.5149 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001734/0.161, allocations: 59.98 kB / 0.515 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.389e-05/0.1611, allocations: 40 kB / 0.515 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002898/0.164, allocations: 1.576 MB / 0.5165 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008128/0.1721, allocations: 5.507 MB / 0.5219 GB, free: 9.062 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002445/0.1746, allocations: 2.378 MB / 0.5242 GB, free: 6.422 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009836/0.1756, allocations: 0.6607 MB / 0.5249 GB, free: 5.758 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.1757, allocations: 98.09 kB / 0.525 GB, free: 5.645 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.195e-05/0.1758, allocations: 51.5 kB / 0.525 GB, free: 5.586 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.576e-06/0.1758, allocations: 0 / 0.525 GB, free: 5.586 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.008679/0.1845, allocations: 3.171 MB / 0.5281 GB, free: 2.383 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.1846, allocations: 90.11 kB / 0.5282 GB, free: 2.277 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007831/0.1854, allocations: 477.9 kB / 0.5287 GB, free: 1.797 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.664e-05/0.1855, allocations: 45.7 kB / 0.5287 GB, free: 1.746 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004256/0.1859, allocations: 491.2 kB / 0.5292 GB, free: 1.258 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004129/0.1863, allocations: 429.7 kB / 0.5296 GB, free: 0.832 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004375/0.1868, allocations: 234.8 kB / 0.5298 GB, free: 0.5977 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.187, allocations: 382.8 kB / 0.5302 GB, free: 220 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1965/0.3835, allocations: 459.1 kB / 0.5306 GB, free: 38.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.3846, allocations: 0.7417 MB / 0.5313 GB, free: 38.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/0.3862, allocations: 1.257 MB / 0.5326 GB, free: 38.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.3862, allocations: 2.812 kB / 0.5326 GB, free: 38.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002787/0.389, allocations: 1.672 MB / 0.5342 GB, free: 38.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.3891, allocations: 8.031 kB / 0.5342 GB, free: 38.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/0.3891, allocations: 9.578 kB / 0.5342 GB, free: 38.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001489/0.3906, allocations: 0.5299 MB / 0.5347 GB, free: 38.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007682/0.3914, allocations: 219.5 kB / 0.5349 GB, free: 38.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001902/0.3916, allocations: 51.89 kB / 0.535 GB, free: 38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006571/0.3922, allocations: 125.2 kB / 0.5351 GB, free: 38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.979e-05/0.3923, allocations: 53.27 kB / 0.5352 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.0004022/0.3928, allocations: 283.1 kB / 0.5354 GB, free: 37.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.3929, allocations: 83.03 kB / 0.5355 GB, free: 37.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002688/0.3956, allocations: 1.573 MB / 0.5371 GB, free: 37.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-05/0.3956, allocations: 6.844 kB / 0.5371 GB, free: 37.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.3957, allocations: 4.5 kB / 0.5371 GB, free: 37.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004108/0.3961, allocations: 288.5 kB / 0.5373 GB, free: 37.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.3962, allocations: 29.98 kB / 0.5374 GB, free: 37.05 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005239/0.3967, allocations: 43.84 kB / 0.5374 GB, free: 37.04 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002099/0.3969, allocations: 77.3 kB / 0.5375 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.003575/0.4005, allocations: 3.187 MB / 0.5406 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