Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta") [: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.2+maint.om/package.mo): time 0.001511/0.001511, allocations: 192.9 kB / 8.134 MB, free: 2.086 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.26/1.26, allocations: 194.2 MB / 202.8 MB, free: 8.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001908/0.001908, allocations: 118.9 kB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.604e-06/7.644e-06, allocations: 4 kB / 297.6 MB, free: 8 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08576/0.08578, allocations: 44.5 MB / 342.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2219/0.3077, allocations: 84.21 MB / 426.3 MB, free: 11.18 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001951/0.3079, allocations: 80.02 kB / 426.4 MB, free: 11.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.4276/0.7355, allocations: 139.7 MB / 0.5528 GB, free: 58.9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001906/0.7358, allocations: 91.38 kB / 0.5529 GB, free: 58.89 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1203 * Number of variables: 1203 Notification: Performance of Generate backend data structure: time 0.01162/0.7474, allocations: 3.915 MB / 0.5567 GB, free: 57.53 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.776e-05/0.7475, allocations: 7.531 kB / 0.5567 GB, free: 57.53 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01183/0.7593, allocations: 1.771 MB / 0.5584 GB, free: 57.3 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00531/0.7647, allocations: 2.449 MB / 0.5608 GB, free: 56.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002358/0.7649, allocations: 141.9 kB / 0.5609 GB, free: 56.73 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009086/0.7658, allocations: 241.1 kB / 0.5612 GB, free: 56.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01003/0.7759, allocations: 5.329 MB / 0.5664 GB, free: 56.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01342/0.7893, allocations: 6.249 MB / 0.5725 GB, free: 56.19 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001225/0.7895, allocations: 6.594 kB / 0.5725 GB, free: 56.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005398/0.7901, allocations: 3.031 kB / 0.5725 GB, free: 56.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002482/0.7903, allocations: 281.3 kB / 0.5728 GB, free: 56.17 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03266/0.823, allocations: 21.66 MB / 0.5939 GB, free: 44.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003776/0.8268, allocations: 3.48 MB / 0.5973 GB, free: 43.71 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003211/0.83, allocations: 2.909 MB / 0.6002 GB, free: 42.51 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01345/0.8435, allocations: 11.06 MB / 0.611 GB, free: 35.62 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.8436, allocations: 58.41 kB / 0.611 GB, free: 35.56 MB / 394.7 MB Notification: Performance of pre-optimization done (n=280): time 4.93e-06/0.8436, allocations: 0 / 0.611 GB, free: 35.56 MB / 394.7 MB Notification: Performance of matching and sorting (n=280): time 0.005815/0.8494, allocations: 4.55 MB / 0.6155 GB, free: 33.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.857e-05/0.8494, allocations: 72.06 kB / 0.6155 GB, free: 33.14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/0.8508, allocations: 1.137 MB / 0.6166 GB, free: 32.25 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001476/0.851, allocations: 25.7 kB / 0.6167 GB, free: 32.22 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000518/0.8515, allocations: 1.569 MB / 0.6182 GB, free: 30.63 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005477/0.8521, allocations: 0.9083 MB / 0.6191 GB, free: 29.71 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002766/0.8524, allocations: 0 / 0.6191 GB, free: 29.71 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.8526, allocations: 498.2 kB / 0.6195 GB, free: 29.21 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002317/0.8549, allocations: 2.048 MB / 0.6215 GB, free: 27.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002576/0.8575, allocations: 2.818 MB / 0.6243 GB, free: 24.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003543/0.861, allocations: 2.624 MB / 0.6269 GB, free: 21.39 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/0.8611, allocations: 4 kB / 0.6269 GB, free: 21.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007941/0.869, allocations: 5.798 MB / 0.6325 GB, free: 15.55 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.8691, allocations: 5.781 kB / 0.6325 GB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.493e-05/0.8691, allocations: 20 kB / 0.6326 GB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001456/0.8706, allocations: 1.06 MB / 0.6336 GB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00245/0.873, allocations: 0.585 MB / 0.6342 GB, free: 13.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003148/0.8762, allocations: 4.076 MB / 0.6381 GB, free: 9.727 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002207/0.8784, allocations: 316.4 kB / 0.6384 GB, free: 9.414 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003211/0.8788, allocations: 147.8 kB / 0.6386 GB, free: 9.273 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: complexToPolar[3].u.re:VARIABLE() "Real part of complex number" type: Real [3] complexToPolar[1].u.re:VARIABLE() "Real part of complex number" type: Real [3] complexToPolar[3].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.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[2].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerSensor.powerSensor[2].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerSensor.powerSensor[3].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerSensor.powerSensor[3].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" type: Real [3] powerSensor.powerSensor[1].i.re:VARIABLE(unit = "A" ) "Real part of complex current" type: Real [3] powerSensor.powerSensor[1].i.im:VARIABLE(unit = "A" ) "Imaginary part of complex current" 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" ) "Imaginary part of complex current" type: Real [3] star.plugToPins_p.pin_p[1].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star.plugToPins_p.pin_p[1].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star.plugToPins_p.pin_p[2].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] star.plugToPins_p.pin_p[3].i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real [3] star.plugToPins_p.pin_p[3].i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (332): * Single equations (assignments): 280 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 49 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {6 9,6 9,6 9} Notification: Performance of prepare postOptimizeDAE: time 0.000536/0.8793, allocations: 216.8 kB / 0.6388 GB, free: 9.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003652/0.8797, allocations: 165.8 kB / 0.6389 GB, free: 8.906 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006525/0.8862, allocations: 4.898 MB / 0.6437 GB, free: 3.969 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005313/0.8916, allocations: 4.469 MB / 0.6481 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.8916, allocations: 0 / 0.6481 GB, free: 15.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.579e-05/0.8916, allocations: 15.95 kB / 0.6481 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01439/0.906, allocations: 9.164 MB / 0.6571 GB, free: 6.227 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.9061, allocations: 0 / 0.6571 GB, free: 6.227 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001546/0.9076, allocations: 283.6 kB / 0.6573 GB, free: 5.949 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001613/0.9093, allocations: 1.04 MB / 0.6583 GB, free: 4.914 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002041/0.9095, allocations: 44.89 kB / 0.6584 GB, free: 4.871 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003996/0.9135, allocations: 4.035 MB / 0.6623 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.9135, allocations: 0 / 0.6623 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1267/1.04, allocations: 7.557 MB / 0.6697 GB, free: 131.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005254/1.041, allocations: 312.6 kB / 0.67 GB, free: 131.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003707/1.041, allocations: 0 / 0.67 GB, free: 131.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009862/1.042, allocations: 42.64 kB / 0.67 GB, free: 131.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003807/1.043, allocations: 206.1 kB / 0.6702 GB, free: 131.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001849/1.043, allocations: 67.52 kB / 0.6703 GB, free: 131.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0009246/1.044, allocations: 0.8026 MB / 0.6711 GB, free: 131.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002361/1.046, allocations: 0.9395 MB / 0.672 GB, free: 131.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSensor31.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (167): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 49 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {6 9,6 9,6 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003842/1.046, allocations: 159.5 kB / 0.6722 GB, free: 131.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005688/1.052, allocations: 4.695 MB / 0.6767 GB, free: 131.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/1.052, allocations: 0 / 0.6767 GB, free: 131.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002619/1.055, allocations: 2.171 MB / 0.6789 GB, free: 131.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/1.056, allocations: 230 kB / 0.6791 GB, free: 131.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0131/1.069, allocations: 7.573 MB / 0.6865 GB, free: 130 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002937/1.072, allocations: 3.2 MB / 0.6896 GB, free: 129.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/1.072, allocations: 0 / 0.6896 GB, free: 129.2 MB / 410.7 MB Notification: Performance of Templates: time 0.06056/1.133, allocations: 43.3 MB / 0.7319 GB, free: 124 MB / 410.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1)