Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadModel(ModelicaTest): time 2.443/2.443, allocations: 234.9 MB / 251.1 MB, free: 9.484 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004586/0.000459, allocations: 12 kB / 315 MB, free: 9.539 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.3744, allocations: 54.86 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.01114/0.3856, allocations: 6.293 MB / 376.1 MB, free: 4.406 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006764/0.3924, allocations: 2.12 MB / 378.2 MB, free: 2.277 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001491/0.394, allocations: 27.94 kB / 378.3 MB, free: 2.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001576/0.3956, allocations: 254.4 kB / 378.5 MB, free: 2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004335/0.4, allocations: 0.8141 MB / 379.3 MB, free: 1.184 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003128/0.4031, allocations: 0.6315 MB / 379.9 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0026/0.4058, allocations: 0.9581 MB / 380.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004275/0.4101, allocations: 1.474 MB / 382.4 MB, free: 14.09 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.4111, allocations: 0.4943 MB / 382.9 MB, free: 13.59 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.4122, allocations: 0.6304 MB / 383.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000193/0.4125, allocations: 60 kB / 383.6 MB, free: 12.9 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000926/0.4134, allocations: 215.7 kB / 383.8 MB, free: 12.69 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002781/0.4137, allocations: 227.1 kB / 384 MB, free: 12.46 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003667/0.4141, allocations: 241.1 kB / 384.2 MB, free: 12.22 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002288/0.4164, allocations: 1.274 MB / 385.5 MB, free: 10.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4164, allocations: 4 kB / 385.5 MB, free: 10.94 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.47e-06/0.4164, allocations: 0 / 385.5 MB, free: 10.94 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.637e-05/0.4165, allocations: 3.938 kB / 385.5 MB, free: 10.94 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.01103/0.4275, allocations: 2.134 MB / 387.6 MB, free: 8.754 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.4276, allocations: 8.031 kB / 387.7 MB, free: 8.746 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01567/0.4433, allocations: 1.501 MB / 389.2 MB, free: 7.242 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/0.4449, allocations: 0.5824 MB / 389.7 MB, free: 6.617 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.445, allocations: 98.69 kB / 389.8 MB, free: 6.52 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003576/0.4454, allocations: 135.9 kB / 390 MB, free: 6.387 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004402/0.4498, allocations: 1.519 MB / 391.5 MB, free: 4.816 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.442e-05/0.4499, allocations: 0 / 391.5 MB, free: 4.816 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002304/0.4502, allocations: 59.95 kB / 391.5 MB, free: 4.758 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.742e-05/0.4502, allocations: 32 kB / 391.6 MB, free: 4.727 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004672/0.4549, allocations: 1.58 MB / 393.2 MB, free: 3.141 MB / 314.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01325/0.4682, allocations: 5.377 MB / 398.5 MB, free: 13.51 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004113/0.4723, allocations: 2.374 MB / 400.9 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002623/0.4726, allocations: 110 kB / 401 MB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.268e-05/0.4727, allocations: 47.56 kB / 401.1 MB, free: 10.69 MB / 330.7 MB Notification: Performance of pre-optimization done (n=129): time 5.22e-06/0.4727, allocations: 0 / 401.1 MB, free: 10.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=129): time 0.01748/0.4902, allocations: 3.134 MB / 404.2 MB, free: 7.523 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/0.4903, allocations: 94.14 kB / 404.3 MB, free: 7.414 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008249/0.4912, allocations: 441.7 kB / 404.7 MB, free: 6.973 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000137/0.4913, allocations: 45.7 kB / 404.8 MB, free: 6.922 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004465/0.4918, allocations: 0.5094 MB / 405.3 MB, free: 6.406 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005193/0.4923, allocations: 433.7 kB / 405.7 MB, free: 5.977 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.4924, allocations: 28 kB / 405.7 MB, free: 5.949 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002157/0.4927, allocations: 354.8 kB / 406.1 MB, free: 5.594 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001557/0.4942, allocations: 483 kB / 406.5 MB, free: 5.125 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001837/0.4961, allocations: 0.7439 MB / 407.3 MB, free: 4.266 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001743/0.4978, allocations: 0.5413 MB / 407.8 MB, free: 3.723 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/0.4979, allocations: 4 kB / 407.8 MB, free: 3.719 MB / 330.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.005184/0.5031, allocations: 1.619 MB / 409.4 MB, free: 2.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/0.5031, allocations: 12 kB / 409.5 MB, free: 2.078 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.563e-05/0.5032, allocations: 11.95 kB / 409.5 MB, free: 2.066 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002799/0.506, allocations: 0.5284 MB / 410 MB, free: 1.539 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/0.5076, allocations: 207.7 kB / 410.2 MB, free: 1.336 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01399/0.5216, allocations: 5.02 MB / 415.2 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.5232, allocations: 130.9 kB / 415.3 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/0.5234, allocations: 59.98 kB / 415.4 MB, free: 11.95 MB / 346.7 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 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 28} Notification: Performance of prepare postOptimizeDAE: time 0.0008189/0.5242, allocations: 277.4 kB / 415.7 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002728/0.5245, allocations: 78.97 kB / 415.8 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005069/0.5296, allocations: 1.59 MB / 417.3 MB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.252e-05/0.5297, allocations: 7.969 kB / 417.4 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.5297, allocations: 0 / 417.4 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000706/0.5304, allocations: 275.7 kB / 417.6 MB, free: 9.691 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000223/0.5307, allocations: 31.94 kB / 417.7 MB, free: 9.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.5317, allocations: 51.98 kB / 417.7 MB, free: 9.609 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000273/0.532, allocations: 77.19 kB / 417.8 MB, free: 9.531 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:522:7-524: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/DAEMode.mo:522:7-524: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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9703:5-9704:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006463/0.5385, allocations: 3.205 MB / 421 MB, free: 5.617 MB / 346.7 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed.