Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 105.5 kB / 18.45 MB, free: 4.602 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.001781/0.001781, allocations: 184.3 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 243.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.216/0.216, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 71.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3939, allocations: 60.82 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02202/0.4159, allocations: 22.73 MB / 0.5418 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01341/0.4294, allocations: 5.466 MB / 0.5471 GB, free: 13.79 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005423/0.4348, allocations: 192.4 kB / 0.5473 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02119/0.4561, allocations: 9.515 MB / 0.5566 GB, free: 6.035 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009305/0.4654, allocations: 2.319 MB / 0.5588 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005404/0.4708, allocations: 1.692 MB / 0.5605 GB, free: 2.035 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01786/0.4887, allocations: 14.48 MB / 0.5746 GB, free: 3.504 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05183/0.5405, allocations: 34.28 MB / 0.6081 GB, free: 1 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01225/0.5528, allocations: 7.991 MB / 0.6159 GB, free: 8.992 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01508/0.568, allocations: 8.729 MB / 0.6244 GB, free: 240 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007642/0.5756, allocations: 2.098 MB / 0.6265 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009768/0.5854, allocations: 2.336 MB / 0.6288 GB, free: 11.8 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008838/0.5943, allocations: 4.321 MB / 0.633 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01783/0.6122, allocations: 8.432 MB / 0.6412 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0395/0.6517, allocations: 28.67 MB / 0.6692 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.6518, allocations: 0 / 0.6692 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6518, allocations: 4 kB / 0.6692 GB, free: 2.246 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0009592/0.6527, allocations: 0 / 0.6692 GB, free: 2.246 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.06953/0.7223, allocations: 18.69 MB / 0.6875 GB, free: 15.45 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.354e-05/0.7224, allocations: 8.031 kB / 0.6875 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06312/0.7855, allocations: 11.69 MB / 0.6989 GB, free: 3.719 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02529/0.8109, allocations: 8.847 MB / 0.7075 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001338/0.8122, allocations: 1.06 MB / 0.7086 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007194/0.8195, allocations: 1.371 MB / 0.7099 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3826/1.202, allocations: 23.58 MB / 0.7329 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005667/1.203, allocations: 18.14 kB / 0.733 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004376/1.207, allocations: 0.5729 MB / 0.7335 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001296/1.208, allocations: 0.6978 MB / 0.7342 GB, free: 146 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04291/1.251, allocations: 21.68 MB / 0.7554 GB, free: 136.3 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1231/1.375, allocations: 70.84 MB / 0.8246 GB, free: 64.89 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02042/1.395, allocations: 28.68 MB / 0.8526 GB, free: 33.53 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007316/1.402, allocations: 4.961 MB / 0.8574 GB, free: 28.55 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02972/1.432, allocations: 15.66 MB / 0.8727 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.108e-05/1.432, allocations: 86.11 kB / 0.8728 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=465): time 7.264e-06/1.432, allocations: 0 / 0.8728 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=465): time 0.03647/1.469, allocations: 15.7 MB / 0.8881 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.498e-05/1.469, allocations: 120.7 kB / 0.8882 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01097/1.48, allocations: 5.109 MB / 0.8932 GB, free: 7.691 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0009492/1.481, allocations: 101.7 kB / 0.8933 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.004791/1.486, allocations: 5.889 MB / 0.8991 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002379/1.488, allocations: 1.587 MB / 0.9006 GB, free: 16 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004441/1.492, allocations: 1.535 MB / 0.9021 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000108/1.493, allocations: 301.1 kB / 0.9024 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007095/1.5, allocations: 4.148 MB / 0.9064 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01248/1.512, allocations: 7.266 MB / 0.9135 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01728/1.529, allocations: 11.93 MB / 0.9252 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000126/1.53, allocations: 36 kB / 0.9252 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.0269/1.557, allocations: 13.1 MB / 0.938 GB, free: 6.754 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001463/1.557, allocations: 48 kB / 0.9381 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000212/1.557, allocations: 104 kB / 0.9382 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006994/1.564, allocations: 3.103 MB / 0.9412 GB, free: 3.496 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006452/1.57, allocations: 1.587 MB / 0.9427 GB, free: 1.906 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/1.571, allocations: 339 kB / 0.9431 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006841/1.578, allocations: 1.049 MB / 0.9441 GB, free: 0.5039 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001585/1.58, allocations: 388 kB / 0.9445 GB, free: 128 kB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 473 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep4[3].y,booleanStep4[2].y,booleanStep4[1].y,booleanStep3[3].y,booleanStep3[2].y,booleanStep3[1].y,booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,booleanStep1[3].y,booleanStep1[2].y,booleanStep1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (814): * Single equations (assignments): 811 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.01099/1.591, allocations: 5.386 MB / 0.9497 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00179/1.593, allocations: 0.4976 MB / 0.9502 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0202/1.613, allocations: 9.623 MB / 0.9596 GB, free: 0.5625 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.279e-05/1.613, allocations: 27.91 kB / 0.9596 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/1.613, allocations: 0 / 0.9596 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.2989/1.912, allocations: 1.361 MB / 0.961 GB, free: 213.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001816/1.914, allocations: 80.16 kB / 0.961 GB, free: 213.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003811/1.918, allocations: 367.1 kB / 0.9614 GB, free: 213.2 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009378/1.919, allocations: 315.1 kB / 0.9617 GB, free: 213.2 MB / 0.6387 GB [/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(-idealCommutingSwitch.plug_n1.pin[3].i.re, -idealCommutingSwitch.plug_n1.pin[3].i.im) = if booleanStep3[3].y then Complex(idealIntermediateSwitch.idealIntermediateSwitch[3].s1.re * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff + idealIntermediateSwitch.idealIntermediateSwitch[3].s3.re, idealIntermediateSwitch.idealIntermediateSwitch[3].s1.im * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff + idealIntermediateSwitch.idealIntermediateSwitch[3].s3.im) else Complex(idealIntermediateSwitch.idealIntermediateSwitch[3].s1.re + idealIntermediateSwitch.idealIntermediateSwitch[3].s3.re * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff, idealIntermediateSwitch.idealIntermediateSwitch[3].s1.im + idealIntermediateSwitch.idealIntermediateSwitch[3].s3.im * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff) Variables: 1: idealIntermediateSwitch.idealIntermediateSwitch[3].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] 2: idealCommutingSwitch.plug_n1.pin[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex number" type: Real [3] [/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): idealCommutingSwitch.plug_n1.pin[3].i.im + idealClosingSwitch.i[3].im + idealCommutingSwitch.plug_n2.pin[3].i.im = 0.0 2/2 (2): Modelica.Units.SI.ComplexCurrent(-impedance.i[3].re, -impedance.i[3].im) = if booleanStep3[3].y then Complex((-idealIntermediateSwitch.idealIntermediateSwitch[3].s2.re) * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff - idealIntermediateSwitch.idealIntermediateSwitch[3].s3.re, (-idealIntermediateSwitch.idealIntermediateSwitch[3].s2.im) * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff - idealIntermediateSwitch.idealIntermediateSwitch[3].s3.im) else Complex((-idealIntermediateSwitch.idealIntermediateSwitch[3].s2.re) - idealIntermediateSwitch.idealIntermediateSwitch[3].s3.re * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff, (-idealIntermediateSwitch.idealIntermediateSwitch[3].s2.im) - idealIntermediateSwitch.idealIntermediateSwitch[3].s3.im * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff) 3/4 (1): variableImpedance.v[3].re = variableImpedance.variableImpedance[3].R_actual * impedance.i[3].re - const_impedance[3].k.im * impedance.i[3].im 4/5 (1): impedance.v[3].re = impedance.plugToPins_p.pin_p[3].v.re - variableImpedance.v[3].re 5/6 (1): idealIntermediateSwitch.plugToPins_p1.pin_p[3].v.re - impedance.plugToPins_p.pin_p[3].v.re = idealIntermediateSwitch.idealIntermediateSwitch[3].s3.re * (if booleanStep3[3].y then idealIntermediateSwitch.idealIntermediateSwitch[3].Ron else 1.0) 6/7 (1): idealIntermediateSwitch.plugToPins_p1.pin_p[3].v.re - admittance.plugToPins_p.pin_p[3].v.re = idealIntermediateSwitch.idealIntermediateSwitch[3].s1.re * (if booleanStep3[3].y then 1.0 else idealIntermediateSwitch.idealIntermediateSwitch[3].Ron) 7/8 (1): admittance.v[3].re = admittance.plugToPins_p.pin_p[3].v.re - variableAdmittance.v[3].re 8/9 (1): admittance.i[3].re = variableAdmittance.variableImpedance[3].G_actual * variableAdmittance.v[3].re - const_admittance[3].k.im * variableAdmittance.v[3].im 9/10 (1): admittance.i[3].re = admittance.admittance[3].G_actual * admittance.v[3].re - admittance.admittance[3].B_ref * admittance.v[3].im 10/11 (1): admittance.v[3].im = admittance.plugToPins_p.pin_p[3].v.im - variableAdmittance.v[3].im 11/12 (1): idealIntermediateSwitch.plugToPins_p2.pin_p[3].v.im - admittance.plugToPins_p.pin_p[3].v.im = idealIntermediateSwitch.idealIntermediateSwitch[3].s4.im * (if booleanStep3[3].y then idealIntermediateSwitch.idealIntermediateSwitch[3].Ron else 1.0) 12/13 (1): idealIntermediateSwitch.plugToPins_p2.pin_p[3].v.im - impedance.plugToPins_p.pin_p[3].v.im = idealIntermediateSwitch.idealIntermediateSwitch[3].s2.im * (if booleanStep3[3].y then 1.0 else idealIntermediateSwitch.idealIntermediateSwitch[3].Ron) 13/14 (1): impedance.v[3].im = impedance.plugToPins_p.pin_p[3].v.im - variableImpedance.v[3].im 14/15 (1): variableImpedance.v[3].im = variableImpedance.variableImpedance[3].R_actual * impedance.i[3].im + const_impedance[3].k.im * impedance.i[3].re 15/16 (1): impedance.v[3].re = impedance.impedance[3].R_actual * impedance.i[3].re - impedance.impedance[3].X_ref * impedance.i[3].im 16/17 (1): impedance.v[3].im = impedance.impedance[3].R_actual * impedance.i[3].im + impedance.impedance[3].X_ref * impedance.i[3].re 17/18 (1): idealIntermediateSwitch.plugToPins_p1.pin_p[3].v.im - impedance.plugToPins_p.pin_p[3].v.im = idealIntermediateSwitch.idealIntermediateSwitch[3].s3.im * (if booleanStep3[3].y then idealIntermediateSwitch.idealIntermediateSwitch[3].Ron else 1.0) 18/19 (1): idealIntermediateSwitch.plugToPins_p1.pin_p[3].v.im - admittance.plugToPins_p.pin_p[3].v.im = idealIntermediateSwitch.idealIntermediateSwitch[3].s1.im * (if booleanStep3[3].y then 1.0 else idealIntermediateSwitch.idealIntermediateSwitch[3].Ron) 19/20 (2): Modelica.Units.SI.ComplexCurrent(-admittance.i[3].re, -admittance.i[3].im) = if booleanStep3[3].y then Complex((-idealIntermediateSwitch.idealIntermediateSwitch[3].s1.re) * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff - idealIntermediateSwitch.idealIntermediateSwitch[3].s4.re, (-idealIntermediateSwitch.idealIntermediateSwitch[3].s1.im) * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff - idealIntermediateSwitch.idealIntermediateSwitch[3].s4.im) else Complex((-idealIntermediateSwitch.idealIntermediateSwitch[3].s1.re) - idealIntermediateSwitch.idealIntermediateSwitch[3].s4.re * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff, (-idealIntermediateSwitch.idealIntermediateSwitch[3].s1.im) - idealIntermediateSwitch.idealIntermediateSwitch[3].s4.im * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff) 20/22 (1): admittance.i[3].im = variableAdmittance.variableImpedance[3].G_actual * variableAdmittance.v[3].im + const_admittance[3].k.im * variableAdmittance.v[3].re 21/23 (1): admittance.i[3].im = admittance.admittance[3].G_actual * admittance.v[3].im + admittance.admittance[3].B_ref * admittance.v[3].re 22/24 (2): Modelica.Units.SI.ComplexCurrent(-idealCommutingSwitch.plug_n2.pin[3].i.re, -idealCommutingSwitch.plug_n2.pin[3].i.im) = if booleanStep3[3].y then Complex(idealIntermediateSwitch.idealIntermediateSwitch[3].s2.re * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff + idealIntermediateSwitch.idealIntermediateSwitch[3].s4.re, idealIntermediateSwitch.idealIntermediateSwitch[3].s2.im * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff + idealIntermediateSwitch.idealIntermediateSwitch[3].s4.im) else Complex(idealIntermediateSwitch.idealIntermediateSwitch[3].s2.re + idealIntermediateSwitch.idealIntermediateSwitch[3].s4.re * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff, idealIntermediateSwitch.idealIntermediateSwitch[3].s2.im + idealIntermediateSwitch.idealIntermediateSwitch[3].s4.im * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff) 23/26 (1): idealIntermediateSwitch.plugToPins_p2.pin_p[3].v.re - impedance.plugToPins_p.pin_p[3].v.re = idealIntermediateSwitch.idealIntermediateSwitch[3].s2.re * (if booleanStep3[3].y then 1.0 else idealIntermediateSwitch.idealIntermediateSwitch[3].Ron) 24/27 (1): idealIntermediateSwitch.plugToPins_p2.pin_p[3].v.re - admittance.plugToPins_p.pin_p[3].v.re = idealIntermediateSwitch.idealIntermediateSwitch[3].s4.re * (if booleanStep3[3].y then idealIntermediateSwitch.idealIntermediateSwitch[3].Ron else 1.0) 25/28 (1): idealClosingSwitch.plugToPins_n.pin_n[3].v.re - idealIntermediateSwitch.plugToPins_p2.pin_p[3].v.re = idealCommutingSwitch.idealCommutingSwitch[3].s2.re * (if booleanStep2[3].y then idealCommutingSwitch.idealCommutingSwitch[3].Ron else 1.0) 26/29 (1): idealClosingSwitch.v[3].re = idealClosingSwitch.plugToPins_p.pin_p[3].v.re - idealClosingSwitch.plugToPins_n.pin_n[3].v.re 27/30 (1): idealClosingSwitch.v[3].re = idealClosingSwitch.idealClosingSwitch[3].s.re * (if booleanStep1[3].y then idealClosingSwitch.idealClosingSwitch[3].Ron else 1.0) 28/31 (1): idealClosingSwitch.i[3].re = idealClosingSwitch.idealClosingSwitch[3].s.re * (if booleanStep1[3].y then 1.0 else idealClosingSwitch.idealClosingSwitch[3].Goff) 29/32 (1): idealClosingSwitch.i[3].re = idealOpeningSwitch.idealOpeningSwitch[3].s.re * (if booleanStep4[3].y then idealOpeningSwitch.idealOpeningSwitch[3].Goff else 1.0) 30/33 (1): idealOpeningSwitch.v[3].re = idealOpeningSwitch.idealOpeningSwitch[3].s.re * (if booleanStep4[3].y then 1.0 else idealOpeningSwitch.idealOpeningSwitch[3].Ron) 31/34 (1): idealOpeningSwitch.v[3].re = voltageSource.v[3].re - idealClosingSwitch.plugToPins_p.pin_p[3].v.re 32/35 (1): idealCommutingSwitch.plug_n1.pin[3].i.re + idealClosingSwitch.i[3].re + idealCommutingSwitch.plug_n2.pin[3].i.re = 0.0 33/36 (1): idealCommutingSwitch.plug_n2.pin[3].i.re = (-idealCommutingSwitch.idealCommutingSwitch[3].s2.re) * (if booleanStep2[3].y then 1.0 else idealCommutingSwitch.idealCommutingSwitch[3].Goff) 34/37 (1): idealClosingSwitch.plugToPins_n.pin_n[3].v.re - idealIntermediateSwitch.plugToPins_p1.pin_p[3].v.re = idealCommutingSwitch.idealCommutingSwitch[3].s1.re * (if booleanStep2[3].y then 1.0 else idealCommutingSwitch.idealCommutingSwitch[3].Ron) 35/38 (1): idealCommutingSwitch.plug_n1.pin[3].i.re = (-idealCommutingSwitch.idealCommutingSwitch[3].s1.re) * (if booleanStep2[3].y then idealCommutingSwitch.idealCommutingSwitch[3].Goff else 1.0) 36/39 (2): Modelica.Units.SI.ComplexCurrent(-idealCommutingSwitch.plug_n1.pin[3].i.re, -idealCommutingSwitch.plug_n1.pin[3].i.im) = if booleanStep3[3].y then Complex(idealIntermediateSwitch.idealIntermediateSwitch[3].s1.re * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff + idealIntermediateSwitch.idealIntermediateSwitch[3].s3.re, idealIntermediateSwitch.idealIntermediateSwitch[3].s1.im * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff + idealIntermediateSwitch.idealIntermediateSwitch[3].s3.im) else Complex(idealIntermediateSwitch.idealIntermediateSwitch[3].s1.re + idealIntermediateSwitch.idealIntermediateSwitch[3].s3.re * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff, idealIntermediateSwitch.idealIntermediateSwitch[3].s1.im + idealIntermediateSwitch.idealIntermediateSwitch[3].s3.im * idealIntermediateSwitch.idealIntermediateSwitch[3].Goff) 37/41 (1): idealClosingSwitch.plugToPins_n.pin_n[3].v.im - idealIntermediateSwitch.plugToPins_p1.pin_p[3].v.im = idealCommutingSwitch.idealCommutingSwitch[3].s1.im * (if booleanStep2[3].y then 1.0 else idealCommutingSwitch.idealCommutingSwitch[3].Ron) 38/42 (1): idealClosingSwitch.v[3].im = idealClosingSwitch.plugToPins_p.pin_p[3].v.im - idealClosingSwitch.plugToPins_n.pin_n[3].v.im 39/43 (1): idealClosingSwitch.v[3].im = idealClosingSwitch.idealClosingSwitch[3].s.im * (if booleanStep1[3].y then idealClosingSwitch.idealClosingSwitch[3].Ron else 1.0) 40/44 (1): idealClosingSwitch.i[3].im = idealClosingSwitch.idealClosingSwitch[3].s.im * (if booleanStep1[3].y then 1.0 else idealClosingSwitch.idealClosingSwitch[3].Goff) 41/45 (1): idealClosingSwitch.i[3].im = idealOpeningSwitch.idealOpeningSwitch[3].s.im * (if booleanStep4[3].y then idealOpeningSwitch.idealOpeningSwitch[3].Goff else 1.0) 42/46 (1): idealOpeningSwitch.v[3].im = idealOpeningSwitch.idealOpeningSwitch[3].s.im * (if booleanStep4[3].y then 1.0 else idealOpeningSwitch.idealOpeningSwitch[3].Ron) 43/47 (1): idealOpeningSwitch.v[3].im = voltageSource.v[3].im - idealClosingSwitch.plugToPins_p.pin_p[3].v.im 44/48 (1): idealClosingSwitch.plugToPins_n.pin_n[3].v.im - idealIntermediateSwitch.plugToPins_p2.pin_p[3].v.im = idealCommutingSwitch.idealCommutingSwitch[3].s2.im * (if booleanStep2[3].y then idealCommutingSwitch.idealCommutingSwitch[3].Ron else 1.0) 45/49 (1): idealCommutingSwitch.plug_n2.pin[3].i.im = (-idealCommutingSwitch.idealCommutingSwitch[3].s2.im) * (if booleanStep2[3].y then 1.0 else idealCommutingSwitch.idealCommutingSwitch[3].Goff) 46/50 (1): idealCommutingSwitch.plug_n1.pin[3].i.im = (-idealCommutingSwitch.idealCommutingSwitch[3].s1.im) * (if booleanStep2[3].y then idealCommutingSwitch.idealCommutingSwitch[3].Goff else 1.0) Variables: 1: idealCommutingSwitch.idealCommutingSwitch[3].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] 2: idealCommutingSwitch.plug_n2.pin[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex number" type: Real [3] 3: idealCommutingSwitch.idealCommutingSwitch[3].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] 4: idealClosingSwitch.plugToPins_p.pin_p[3].v.im:VARIABLE(flow=false unit = "V" ) "Imaginary part of complex number" type: Real [3] 5: idealOpeningSwitch.v[3].im:VARIABLE(unit = "V" ) "Imaginary part of complex number" type: Real [3] 6: idealOpeningSwitch.idealOpeningSwitch[3].s.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] 7: idealClosingSwitch.i[3].im:VARIABLE(unit = "A" ) "Imaginary part of complex number" type: Real [3] 8: idealClosingSwitch.idealClosingSwitch[3].s.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] 9: idealClosingSwitch.v[3].im:VARIABLE(unit = "V" ) "Imaginary part of complex number" type: Real [3] 10: idealClosingSwitch.plugToPins_n.pin_n[3].v.im:VARIABLE(flow=false unit = "V" ) "Imaginary part of complex number" type: Real [3] 11: idealIntermediateSwitch.idealIntermediateSwitch[3].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] 12: idealCommutingSwitch.plug_n1.pin[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex number" type: Real [3] 13: idealCommutingSwitch.idealCommutingSwitch[3].s1.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] 14: idealCommutingSwitch.idealCommutingSwitch[3].s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] 15: idealCommutingSwitch.plug_n2.pin[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex number" type: Real [3] 16: idealClosingSwitch.plugToPins_p.pin_p[3].v.re:VARIABLE(flow=false unit = "V" ) "Real part of complex number" type: Real [3] 17: idealOpeningSwitch.v[3].re:VARIABLE(unit = "V" ) "Real part of complex number" type: Real [3] 18: idealOpeningSwitch.idealOpeningSwitch[3].s.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] 19: idealClosingSwitch.i[3].re:VARIABLE(unit = "A" ) "Real part of complex number" type: Real [3] 20: idealClosingSwitch.idealClosingSwitch[3].s.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] 21: idealClosingSwitch.v[3].re:VARIABLE(unit = "V" ) "Real part of complex number" type: Real [3] 22: idealClosingSwitch.plugToPins_n.pin_n[3].v.re:VARIABLE(flow=false unit = "V" ) "Real part of complex number" type: Real [3] 23: idealIntermediateSwitch.idealIntermediateSwitch[3].s4.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] 24: idealIntermediateSwitch.plugToPins_p2.pin_p[3].v.re:VARIABLE(flow=false unit = "V" ) "Real part of complex number" type: Real [3] 25: idealIntermediateSwitch.idealIntermediateSwitch[3].s2.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] 26: idealIntermediateSwitch.idealIntermediateSwitch[3].s2.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] 27: admittance.v[3].re:VARIABLE(unit = "V" ) "Real part of complex number" type: Real [3] 28: variableAdmittance.v[3].im:VARIABLE(unit = "V" ) "Imaginary part of complex number" type: Real [3] 29: admittance.i[3].im:VARIABLE(unit = "A" ) "Imaginary part of complex number" type: Real [3] 30: idealIntermediateSwitch.idealIntermediateSwitch[3].s4.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] 31: idealIntermediateSwitch.idealIntermediateSwitch[3].s1.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] 32: idealIntermediateSwitch.plugToPins_p1.pin_p[3].v.im:VARIABLE(flow=false unit = "V" ) "Imaginary part of complex number" type: Real [3] 33: impedance.v[3].im:VARIABLE(unit = "V" ) "Imaginary part of complex number" type: Real [3] 34: impedance.v[3].re:VARIABLE(unit = "V" ) "Real part of complex number" type: Real [3] 35: impedance.i[3].re:VARIABLE(unit = "A" ) "Real part of complex number" type: Real [3] 36: variableImpedance.v[3].im:VARIABLE(unit = "V" ) "Imaginary part of complex number" type: Real [3] 37: impedance.plugToPins_p.pin_p[3].v.im:VARIABLE(flow=false unit = "V" ) "Imaginary part of complex number" type: Real [3] 38: idealIntermediateSwitch.plugToPins_p2.pin_p[3].v.im:VARIABLE(flow=false unit = "V" ) "Imaginary part of complex number" type: Real [3] 39: admittance.plugToPins_p.pin_p[3].v.im:VARIABLE(flow=false unit = "V" ) "Imaginary part of complex number" type: Real [3] 40: admittance.v[3].im:VARIABLE(unit = "V" ) "Imaginary part of complex number" type: Real [3] 41: admittance.i[3].re:VARIABLE(unit = "A" ) "Real part of complex number" type: Real [3] 42: variableAdmittance.v[3].re:VARIABLE(unit = "V" ) "Real part of complex number" type: Real [3] 43: admittance.plugToPins_p.pin_p[3].v.re:VARIABLE(flow=false unit = "V" ) "Real part of complex number" type: Real [3] 44: idealIntermediateSwitch.plugToPins_p1.pin_p[3].v.re:VARIABLE(flow=false unit = "V" ) "Real part of complex number" type: Real [3] 45: impedance.plugToPins_p.pin_p[3].v.re:VARIABLE(flow=false unit = "V" ) "Real part of complex number" type: Real [3] 46: variableImpedance.v[3].re:VARIABLE(unit = "V" ) "Real part of complex number" type: Real [3] 47: impedance.i[3].im:VARIABLE(unit = "A" ) "Imaginary part of complex number" type: Real [3] 48: idealIntermediateSwitch.idealIntermediateSwitch[3].s3.im:VARIABLE(unit = "1" protected = true ) "Imaginary part of complex number" type: Real [3] 49: idealIntermediateSwitch.idealIntermediateSwitch[3].s3.re:VARIABLE(unit = "1" protected = true ) "Real part of complex number" type: Real [3] 50: idealCommutingSwitch.plug_n1.pin[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex number" type: Real [3] [/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.003909/1.923, allocations: 4.267 MB / 0.9659 GB, free: 209.6 MB / 0.6387 GB Error: post-optimization module createDAEmodeBDAE (simulation) failed. Error: Internal error SimCode DAEmode: The model ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal could not be translated