Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001305/0.001305, allocations: 180.3 kB / 17.39 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.697/1.697, allocations: 205.4 MB / 223.5 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009394/0.0009391, allocations: 92.73 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3285/0.3285, allocations: 43.55 MB / 363.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003638, allocations: 12 kB / 432.6 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1168, allocations: 58.85 MB / 491.5 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal): time 0.007164/0.124, allocations: 6.695 MB / 498.2 MB, free: 4.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003918/0.128, allocations: 2.156 MB / 0.4886 GB, free: 2.016 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004211/0.1284, allocations: 31.94 kB / 0.4886 GB, free: 1.984 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006352/0.1291, allocations: 266.5 kB / 0.4889 GB, free: 1.723 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.1308, allocations: 0.7503 MB / 0.4896 GB, free: 0.9688 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001655/0.1324, allocations: 0.7406 MB / 0.4903 GB, free: 232 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.1914/0.3239, allocations: 1.305 MB / 0.4916 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00331/0.3272, allocations: 1.608 MB / 0.4932 GB, free: 34.72 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.3284, allocations: 0.5115 MB / 0.4937 GB, free: 34.72 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.3294, allocations: 0.6354 MB / 0.4943 GB, free: 34.72 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00018/0.3296, allocations: 57.88 kB / 0.4944 GB, free: 34.72 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001048/0.3307, allocations: 269.4 kB / 0.4946 GB, free: 34.72 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002947/0.331, allocations: 230.9 kB / 0.4948 GB, free: 34.72 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008024/0.3318, allocations: 0.5965 MB / 0.4954 GB, free: 34.64 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002228/0.3341, allocations: 1.315 MB / 0.4967 GB, free: 34.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3341, allocations: 4.469 kB / 0.4967 GB, free: 34.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3341, allocations: 0 / 0.4967 GB, free: 34.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.3341, allocations: 0 / 0.4967 GB, free: 34.53 MB / 378.7 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.01143/0.3456, allocations: 2.158 MB / 0.4988 GB, free: 33.78 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.3456, allocations: 9.344 kB / 0.4988 GB, free: 33.78 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01801/0.3637, allocations: 1.504 MB / 0.5003 GB, free: 33.69 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001981/0.3657, allocations: 0.6169 MB / 0.5009 GB, free: 33.37 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001249/0.3659, allocations: 113 kB / 0.501 GB, free: 33.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003181/0.3662, allocations: 133.2 kB / 0.5011 GB, free: 33.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004145/0.3703, allocations: 1.533 MB / 0.5026 GB, free: 33.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.599e-05/0.3704, allocations: 5.594 kB / 0.5026 GB, free: 33.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000194/0.3706, allocations: 54.56 kB / 0.5027 GB, free: 33.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.225e-05/0.3707, allocations: 38.88 kB / 0.5027 GB, free: 33.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004142/0.3748, allocations: 1.581 MB / 0.5043 GB, free: 33.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00983/0.3847, allocations: 5.586 MB / 0.5097 GB, free: 31.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002492/0.3872, allocations: 2.361 MB / 0.512 GB, free: 29.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001451/0.3887, allocations: 0.6729 MB / 0.5127 GB, free: 28.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001723/0.3889, allocations: 108.1 kB / 0.5128 GB, free: 28.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.3889, allocations: 46 kB / 0.5128 GB, free: 28.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=129): time 7.634e-06/0.389, allocations: 0 / 0.5128 GB, free: 28.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=129): time 0.01367/0.4026, allocations: 3.205 MB / 0.516 GB, free: 27.83 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.4027, allocations: 99.08 kB / 0.5161 GB, free: 27.72 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008448/0.4036, allocations: 476.4 kB / 0.5165 GB, free: 27.49 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001093/0.4037, allocations: 44.77 kB / 0.5166 GB, free: 27.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000307/0.404, allocations: 483.5 kB / 0.517 GB, free: 27.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003433/0.4044, allocations: 435.3 kB / 0.5174 GB, free: 26.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.4045, allocations: 23.16 kB / 0.5175 GB, free: 26.72 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.4046, allocations: 388.4 kB / 0.5178 GB, free: 26.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/0.4058, allocations: 472 kB / 0.5183 GB, free: 26.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/0.4071, allocations: 0.7437 MB / 0.519 GB, free: 25.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002574/0.4097, allocations: 1.269 MB / 0.5202 GB, free: 24.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.264e-05/0.4098, allocations: 3.25 kB / 0.5202 GB, free: 24.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004096/0.4139, allocations: 1.645 MB / 0.5219 GB, free: 24.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.944e-05/0.4139, allocations: 8.969 kB / 0.5219 GB, free: 24.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.606e-05/0.414, allocations: 9.5 kB / 0.5219 GB, free: 24.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00216/0.4161, allocations: 0.5274 MB / 0.5224 GB, free: 23.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.4173, allocations: 211.7 kB / 0.5226 GB, free: 23.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00911/0.4264, allocations: 4.706 MB / 0.5272 GB, free: 20.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.4275, allocations: 134.4 kB / 0.5273 GB, free: 20.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.996e-05/0.4277, allocations: 53.61 kB / 0.5274 GB, free: 20.8 MB / 378.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.0005984/0.4283, allocations: 285.7 kB / 0.5276 GB, free: 20.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.4284, allocations: 85.58 kB / 0.5277 GB, free: 20.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002694/0.4311, allocations: 1.582 MB / 0.5293 GB, free: 19.78 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.4312, allocations: 10.02 kB / 0.5293 GB, free: 19.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.4312, allocations: 4 kB / 0.5293 GB, free: 19.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004049/0.4316, allocations: 290.2 kB / 0.5296 GB, free: 19.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.4317, allocations: 25.97 kB / 0.5296 GB, free: 19.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005593/0.4323, allocations: 55.58 kB / 0.5296 GB, free: 19.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/0.4324, allocations: 78.23 kB / 0.5297 GB, free: 19.5 MB / 378.7 MB [/var/lib/jenkins1/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/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:9741:5-9742:77:writable] Error: Internal error BackendDAEUtil.traverseEqSystemStrongComponents failed with function: omc_DAEMode_traverserStrongComponents Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002947/0.4354, allocations: 3.205 MB / 0.5328 GB, free: 16.47 MB / 378.7 MB Error: post-optimization module createDAEmodeBDAE (simulation) failed.