Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|voltageSource.plug_p.reference.gamma|voltageSource.voltageSource.2..pin_p.reference.gamma|voltageSource.voltageSource.3..pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") Notification: Performance of loadModel(Modelica): time 1.667/1.667, allocations: 171.3 MB / 179.2 MB, free: 7.586 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.171e-05/2.212e-05, allocations: 4 kB / 222.5 MB, free: 8.707 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07137/0.07142, allocations: 38.77 MB / 261.3 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2916/0.3631, allocations: 74.12 MB / 335.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.3634, allocations: 83.12 kB / 335.5 MB, free: 14.24 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6258/0.9892, allocations: 154.6 MB / 490 MB, free: 62.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.895e-06/0.9893, allocations: 0 / 490 MB, free: 62.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001974/0.9895, allocations: 99.88 kB / 490.1 MB, free: 62.15 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1247 * Number of variables: 1247 Notification: Performance of Generate backend data structure: time 0.01533/1.005, allocations: 4.159 MB / 494.3 MB, free: 57.94 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/1.005, allocations: 12.03 kB / 494.3 MB, free: 57.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002017/1.007, allocations: 450.7 kB / 494.7 MB, free: 57.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006165/1.013, allocations: 2.645 MB / 497.4 MB, free: 54.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003948/1.014, allocations: 152 kB / 497.5 MB, free: 54.65 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001469/1.015, allocations: 256 kB / 497.8 MB, free: 54.4 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01128/1.026, allocations: 4.724 MB / 0.4907 GB, free: 49.67 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01713/1.044, allocations: 6.271 MB / 0.4969 GB, free: 43.2 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001617/1.044, allocations: 11.91 kB / 0.4969 GB, free: 43.19 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009728/1.045, allocations: 4 kB / 0.4969 GB, free: 43.19 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001844/1.045, allocations: 195.9 kB / 0.4971 GB, free: 43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04087/1.086, allocations: 20.7 MB / 0.5173 GB, free: 22.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004252/1.09, allocations: 2.481 MB / 0.5197 GB, free: 19.79 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00493/1.095, allocations: 2.773 MB / 0.5224 GB, free: 17 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002446/1.095, allocations: 63.41 kB / 0.5225 GB, free: 16.95 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/1.095, allocations: 60.31 kB / 0.5225 GB, free: 16.89 MB / 346.7 MB Notification: Performance of pre-optimization done (n=284): time 7.662e-06/1.095, allocations: 0 / 0.5225 GB, free: 16.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=284): time 0.00967/1.105, allocations: 4.614 MB / 0.527 GB, free: 12.22 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/1.105, allocations: 120.8 kB / 0.5271 GB, free: 12.08 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/1.106, allocations: 0.7225 MB / 0.5279 GB, free: 11.35 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004647/1.107, allocations: 25.7 kB / 0.5279 GB, free: 11.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007393/1.108, allocations: 1.548 MB / 0.5294 GB, free: 9.75 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001239/1.109, allocations: 0.9003 MB / 0.5303 GB, free: 8.836 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002556/1.109, allocations: 0 / 0.5303 GB, free: 8.836 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002842/1.11, allocations: 436.3 kB / 0.5307 GB, free: 8.402 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003112/1.113, allocations: 1.824 MB / 0.5325 GB, free: 6.574 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003712/1.116, allocations: 2.261 MB / 0.5347 GB, free: 4.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003894/1.12, allocations: 2.234 MB / 0.5369 GB, free: 1.906 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.421e-05/1.12, allocations: 4 kB / 0.5369 GB, free: 1.902 MB / 346.7 MB Notification: Performance of matching and sorting (n=347) (initialization): time 0.2152/1.336, allocations: 5.033 MB / 0.5418 GB, free: 64.63 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.171e-05/1.336, allocations: 13.97 kB / 0.5418 GB, free: 64.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.606e-05/1.336, allocations: 14.44 kB / 0.5418 GB, free: 64.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003208/1.339, allocations: 1.373 MB / 0.5431 GB, free: 64.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/1.341, allocations: 335.9 kB / 0.5435 GB, free: 64.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006797/1.348, allocations: 5.245 MB / 0.5486 GB, free: 62.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/1.35, allocations: 187.9 kB / 0.5488 GB, free: 62.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006649/1.35, allocations: 101.8 kB / 0.5489 GB, free: 62.51 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: complexToPolar[1].u.im:VARIABLE() "Imaginary part of complex number" type: Real [3] complexToPolar[2].u.re:VARIABLE() "Real part of complex number" type: Real [3] complexToPolar[2].u.im:VARIABLE() "Imaginary part of complex number" type: Real [3] complexToPolar[1].u.re:VARIABLE() "Real part of complex number" type: Real [3] complexToPolar[3].u.re:VARIABLE() "Real part of complex number" type: Real [3] complexToPolar[3].u.im:VARIABLE() "Imaginary part of complex number" type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: powerSensor.powerSensor[3].i.re:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[2].i.im:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[1].i.re:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[1].i.im:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[3].i.im:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[2].i.re:VARIABLE(unit = "A" ) type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: voltageSource.voltageSource[3].i.im:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[2].i.im:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[3].i.re:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[2].i.re:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[1].i.im:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[1].i.re:VARIABLE(unit = "A" ) type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: star.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) type: Real [3] star.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) type: Real [3] star.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) type: Real [3] star.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) type: Real [3] star.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) type: Real [3] star.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 55 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0008433/1.351, allocations: 212.2 kB / 0.5491 GB, free: 62.4 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005733/1.352, allocations: 144.1 kB / 0.5492 GB, free: 62.33 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01152/1.363, allocations: 4.873 MB / 0.554 GB, free: 62.16 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009439/1.373, allocations: 4.596 MB / 0.5584 GB, free: 62.01 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.649e-05/1.373, allocations: 0 / 0.5584 GB, free: 62.01 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.85e-05/1.373, allocations: 11.39 kB / 0.5585 GB, free: 62.01 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02074/1.394, allocations: 9.757 MB / 0.568 GB, free: 61.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.571e-05/1.394, allocations: 3.969 kB / 0.568 GB, free: 61.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001313/1.395, allocations: 222.9 kB / 0.5682 GB, free: 61.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002811/1.398, allocations: 1.363 MB / 0.5695 GB, free: 61.39 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005366/1.399, allocations: 45.39 kB / 0.5696 GB, free: 61.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006326/1.405, allocations: 5.219 MB / 0.5747 GB, free: 59.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.07e-05/1.405, allocations: 5.312 kB / 0.5747 GB, free: 59.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01404/1.419, allocations: 8.052 MB / 0.5825 GB, free: 56.23 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005187/1.42, allocations: 265.4 kB / 0.5828 GB, free: 56.05 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006694/1.42, allocations: 7.312 kB / 0.5828 GB, free: 56.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/1.422, allocations: 30.84 kB / 0.5828 GB, free: 56.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006049/1.422, allocations: 244.5 kB / 0.5831 GB, free: 56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002548/1.423, allocations: 75.16 kB / 0.5831 GB, free: 55.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008627/1.424, allocations: 0.5488 MB / 0.5837 GB, free: 55.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.29e-07/1.424, allocations: 0 / 0.5837 GB, free: 55.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003685/1.427, allocations: 0.9196 MB / 0.5846 GB, free: 55.58 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 3 (voltageSource.voltageSource[1].pin_p.reference.gamma,voltageSource.voltageSource[3].pin_p.reference.gamma,voltageSource.voltageSource[2].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (139): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 55 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008185/1.428, allocations: 165.7 kB / 0.5847 GB, free: 55.49 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008943/1.437, allocations: 4.309 MB / 0.5889 GB, free: 53.78 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/1.437, allocations: 2 kB / 0.5889 GB, free: 53.78 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004844/1.442, allocations: 2.179 MB / 0.5911 GB, free: 52.93 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002717/1.445, allocations: 274.1 kB / 0.5913 GB, free: 52.88 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01802/1.463, allocations: 7.288 MB / 0.5984 GB, free: 49.9 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005292/1.468, allocations: 3.238 MB / 0.6016 GB, free: 48.45 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006313/1.469, allocations: 83.59 kB / 0.6017 GB, free: 48.45 MB / 346.7 MB Notification: Performance of SimCode: time 1.88e-06/1.469, allocations: 0 / 0.6017 GB, free: 48.45 MB / 346.7 MB Notification: Performance of Templates: time 0.3756/1.845, allocations: 142.6 MB / 0.741 GB, free: 58.12 MB / 362.7 MB