Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003615/0.003615, allocations: 172.3 kB / 7.447 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.374/1.374, allocations: 170.6 MB / 178.4 MB, free: 15.41 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001764/0.001764, allocations: 127.8 kB / 217.7 MB, free: 8.164 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.61e-06/5.64e-06, allocations: 0 / 261.7 MB, free: 26.66 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08256/0.08258, allocations: 38.76 MB / 300.5 MB, free: 3.895 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2839/0.3665, allocations: 73.77 MB / 374.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/0.3668, allocations: 79.27 kB / 374.4 MB, free: 10.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.5211/0.888, allocations: 169.3 MB / 0.5309 GB, free: 61.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003395/0.8883, allocations: 107.9 kB / 0.531 GB, free: 61.37 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: 1355 * Number of variables: 1355 Notification: Performance of Generate backend data structure: time 0.01736/0.9057, allocations: 4.547 MB / 0.5354 GB, free: 56.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.9058, allocations: 12.03 kB / 0.5354 GB, free: 56.76 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002935/0.9087, allocations: 486.2 kB / 0.5359 GB, free: 56.28 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006909/0.9157, allocations: 2.941 MB / 0.5388 GB, free: 53.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004128/0.9161, allocations: 164 kB / 0.5389 GB, free: 53.14 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001815/0.9179, allocations: 283.9 kB / 0.5392 GB, free: 52.87 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01246/0.9304, allocations: 5.241 MB / 0.5443 GB, free: 47.62 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02176/0.9522, allocations: 7.008 MB / 0.5512 GB, free: 40.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002373/0.9525, allocations: 11.91 kB / 0.5512 GB, free: 40.4 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001765/0.9543, allocations: 7.797 kB / 0.5512 GB, free: 40.4 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002873/0.9546, allocations: 231.8 kB / 0.5514 GB, free: 40.17 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05083/1.005, allocations: 22.88 MB / 0.5737 GB, free: 17.33 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004345/1.01, allocations: 2.727 MB / 0.5764 GB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004853/1.015, allocations: 3.182 MB / 0.5795 GB, free: 11.37 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003313/1.015, allocations: 69.09 kB / 0.5796 GB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.238e-05/1.015, allocations: 60.56 kB / 0.5796 GB, free: 11.25 MB / 346.7 MB Notification: Performance of pre-optimization done (n=324): time 6.452e-06/1.015, allocations: 0 / 0.5796 GB, free: 11.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=324): time 0.009648/1.025, allocations: 5.616 MB / 0.5851 GB, free: 5.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/1.025, allocations: 128.9 kB / 0.5852 GB, free: 5.438 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001585/1.027, allocations: 0.7346 MB / 0.586 GB, free: 4.699 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004155/1.027, allocations: 29.7 kB / 0.586 GB, free: 4.664 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008206/1.028, allocations: 1.499 MB / 0.5875 GB, free: 3.141 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00125/1.029, allocations: 1.027 MB / 0.5885 GB, free: 2.098 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003208/1.029, allocations: 0 / 0.5885 GB, free: 2.098 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004627/1.03, allocations: 496.8 kB / 0.5889 GB, free: 1.602 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2151/1.245, allocations: 2.124 MB / 0.591 GB, free: 91.91 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004244/1.249, allocations: 2.561 MB / 0.5935 GB, free: 91.51 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003742/1.253, allocations: 2.594 MB / 0.596 GB, free: 91.47 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.677e-05/1.253, allocations: 3.969 kB / 0.596 GB, free: 91.47 MB / 346.7 MB Notification: Performance of matching and sorting (n=379) (initialization): time 0.008508/1.262, allocations: 6 MB / 0.6019 GB, free: 91.33 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/1.262, allocations: 5.438 kB / 0.6019 GB, free: 91.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-05/1.262, allocations: 10.06 kB / 0.6019 GB, free: 91.33 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002413/1.264, allocations: 1.756 MB / 0.6036 GB, free: 91.28 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/1.266, allocations: 349.9 kB / 0.604 GB, free: 91.28 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005939/1.272, allocations: 6.749 MB / 0.6106 GB, free: 88.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/1.273, allocations: 184.3 kB / 0.6107 GB, free: 88.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002584/1.274, allocations: 101.7 kB / 0.6108 GB, free: 88.68 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: currentSensor.y[2].re:VARIABLE() "Real part of complex number" type: Real [3] currentSensor.y[1].im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentSensor.y[3].im:VARIABLE() "Imaginary part of complex number" type: Real [3] currentSensor.y[3].re:VARIABLE() "Real part of complex number" type: Real [3] currentSensor.y[1].re:VARIABLE() "Real part of complex number" type: Real [3] currentSensor.y[2].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[1].i.im:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[3].i.re:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[3].i.im:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[2].i.im:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[2].i.re:VARIABLE(unit = "A" ) type: Real [3] powerSensor.powerSensor[1].i.re:VARIABLE(unit = "A" ) type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: star2.plugToPins_p.pin_p[2].i.im:VARIABLE(flow=true unit = "A" ) type: Real [3] star2.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) type: Real [3] star2.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) type: Real [3] star2.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) type: Real [3] star2.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) type: Real [3] star2.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: voltageSource.voltageSource[2].i.re:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[2].i.im:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[3].i.im:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[3].i.re:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[1].i.re:VARIABLE(unit = "A" ) type: Real [3] voltageSource.voltageSource[1].i.im:VARIABLE(unit = "A" ) type: Real [3] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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.im: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: 48 * 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): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0006032/1.274, allocations: 219 kB / 0.611 GB, free: 88.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006276/1.275, allocations: 155.3 kB / 0.6112 GB, free: 88.52 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008382/1.283, allocations: 5.891 MB / 0.6169 GB, free: 88.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006794/1.29, allocations: 5.579 MB / 0.6224 GB, free: 88.19 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.385e-05/1.29, allocations: 3.438 kB / 0.6224 GB, free: 88.19 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-05/1.29, allocations: 8.719 kB / 0.6224 GB, free: 88.19 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01711/1.307, allocations: 11.28 MB / 0.6334 GB, free: 86.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-05/1.307, allocations: 6.406 kB / 0.6334 GB, free: 86.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001293/1.309, allocations: 244 kB / 0.6336 GB, free: 86.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002439/1.311, allocations: 1.732 MB / 0.6353 GB, free: 85.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002768/1.312, allocations: 47.81 kB / 0.6354 GB, free: 85.81 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005789/1.317, allocations: 6.749 MB / 0.642 GB, free: 81.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/1.317, allocations: 6.562 kB / 0.642 GB, free: 81.57 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01183/1.329, allocations: 9.477 MB / 0.6512 GB, free: 77.23 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006886/1.33, allocations: 277.7 kB / 0.6515 GB, free: 77.05 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003262/1.33, allocations: 3.75 kB / 0.6515 GB, free: 77.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/1.331, allocations: 9.531 kB / 0.6515 GB, free: 77.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006/1.332, allocations: 264.7 kB / 0.6518 GB, free: 76.99 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002286/1.332, allocations: 87.78 kB / 0.6519 GB, free: 76.96 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.000845/1.333, allocations: 0.5628 MB / 0.6524 GB, free: 76.71 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003143/1.336, allocations: 0.9874 MB / 0.6534 GB, free: 76.56 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (147): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004832/1.337, allocations: 159.5 kB / 0.6535 GB, free: 76.46 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007177/1.344, allocations: 5.016 MB / 0.6584 GB, free: 74.54 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/1.344, allocations: 4.125 kB / 0.6584 GB, free: 74.53 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003761/1.348, allocations: 2.575 MB / 0.6609 GB, free: 73.38 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002226/1.35, allocations: 291.3 kB / 0.6612 GB, free: 73.17 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01659/1.367, allocations: 8.313 MB / 0.6693 GB, free: 65.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004322/1.371, allocations: 3.687 MB / 0.6729 GB, free: 62.78 MB / 346.7 MB Notification: Performance of SimCode: time 1.593e-06/1.371, allocations: 0 / 0.6729 GB, free: 62.78 MB / 346.7 MB Notification: Performance of Templates: time 0.06953/1.441, allocations: 47.11 MB / 0.7189 GB, free: 25.68 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingStar.pipe 2>&1)