Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.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.BalancingDelta,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1_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.1+maint.om/package.mo): time 0.004212/0.004212, allocations: 173.2 kB / 7.449 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.347/1.347, allocations: 170.6 MB / 178.4 MB, free: 15.36 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.001627/0.001626, allocations: 111.8 kB / 217.7 MB, free: 8.129 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.316e-06/8.416e-06, allocations: 0 / 261.7 MB, free: 26.61 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07796/0.07798, allocations: 38.76 MB / 300.5 MB, free: 3.859 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2441/0.3222, allocations: 74.03 MB / 374.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.3225, allocations: 76.58 kB / 374.6 MB, free: 10.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 0.5583/0.8807, allocations: 153.8 MB / 0.516 GB, free: 72.15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0006978/0.8815, allocations: 96.95 kB / 0.5161 GB, free: 72.14 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.0205/0.902, allocations: 4.206 MB / 0.5202 GB, free: 69.41 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.9021, allocations: 12.19 kB / 0.5202 GB, free: 69.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003071/0.9052, allocations: 451.6 kB / 0.5206 GB, free: 69.18 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008695/0.9139, allocations: 2.658 MB / 0.5232 GB, free: 67.37 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005838/0.9145, allocations: 153.4 kB / 0.5234 GB, free: 67.37 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00221/0.9167, allocations: 263.8 kB / 0.5236 GB, free: 67.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01356/0.9303, allocations: 4.813 MB / 0.5283 GB, free: 63.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02035/0.9507, allocations: 6.377 MB / 0.5346 GB, free: 56.94 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002779/0.951, allocations: 7.938 kB / 0.5346 GB, free: 56.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001731/0.9528, allocations: 0 / 0.5346 GB, free: 56.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002612/0.9531, allocations: 199.9 kB / 0.5347 GB, free: 56.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04566/0.9987, allocations: 20.83 MB / 0.5551 GB, free: 35.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004182/1.003, allocations: 2.502 MB / 0.5575 GB, free: 33.4 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004861/1.008, allocations: 2.847 MB / 0.5603 GB, free: 30.54 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000315/1.008, allocations: 61.42 kB / 0.5604 GB, free: 30.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/1.008, allocations: 56.5 kB / 0.5604 GB, free: 30.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=284): time 5.33e-06/1.008, allocations: 0 / 0.5604 GB, free: 30.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=284): time 0.008263/1.017, allocations: 4.809 MB / 0.5651 GB, free: 25.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/1.017, allocations: 124.8 kB / 0.5652 GB, free: 25.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/1.018, allocations: 0.738 MB / 0.566 GB, free: 24.68 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002422/1.018, allocations: 25.7 kB / 0.566 GB, free: 24.65 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006769/1.019, allocations: 1.424 MB / 0.5674 GB, free: 23.2 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008571/1.02, allocations: 0.9042 MB / 0.5683 GB, free: 22.28 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002131/1.02, allocations: 0 / 0.5683 GB, free: 22.28 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002725/1.02, allocations: 480.3 kB / 0.5687 GB, free: 21.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002479/1.023, allocations: 1.89 MB / 0.5706 GB, free: 19.91 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002792/1.026, allocations: 2.315 MB / 0.5728 GB, free: 17.44 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003194/1.029, allocations: 2.312 MB / 0.5751 GB, free: 15.11 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.91e-05/1.029, allocations: 4 kB / 0.5751 GB, free: 15.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=347) (initialization): time 0.007688/1.037, allocations: 5.28 MB / 0.5802 GB, free: 9.777 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/1.037, allocations: 4 kB / 0.5803 GB, free: 9.773 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.652e-05/1.037, allocations: 12 kB / 0.5803 GB, free: 9.762 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002021/1.039, allocations: 1.398 MB / 0.5816 GB, free: 8.371 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/1.04, allocations: 359.4 kB / 0.582 GB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004376/1.045, allocations: 5.394 MB / 0.5872 GB, free: 2.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/1.046, allocations: 165.8 kB / 0.5874 GB, free: 2.355 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003189/1.046, allocations: 95.97 kB / 0.5875 GB, free: 2.262 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.0006911/1.047, allocations: 205 kB / 0.5877 GB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005824/1.048, allocations: 150 kB / 0.5878 GB, free: 1.914 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2003/1.248, allocations: 5.061 MB / 0.5928 GB, free: 100.8 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007564/1.256, allocations: 4.775 MB / 0.5974 GB, free: 100.7 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-05/1.256, allocations: 3.688 kB / 0.5974 GB, free: 100.7 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.148e-05/1.256, allocations: 9.547 kB / 0.5974 GB, free: 100.7 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01733/1.273, allocations: 9.998 MB / 0.6072 GB, free: 100.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.649e-05/1.273, allocations: 3.906 kB / 0.6072 GB, free: 100.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/1.274, allocations: 239.5 kB / 0.6074 GB, free: 100.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001944/1.276, allocations: 1.375 MB / 0.6088 GB, free: 100.1 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002001/1.277, allocations: 41.39 kB / 0.6088 GB, free: 100.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004482/1.281, allocations: 5.375 MB / 0.6141 GB, free: 98.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/1.281, allocations: 6.281 kB / 0.6141 GB, free: 98.07 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01076/1.292, allocations: 8.346 MB / 0.6222 GB, free: 97.29 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008103/1.293, allocations: 265 kB / 0.6225 GB, free: 97.14 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005479/1.293, allocations: 9.75 kB / 0.6225 GB, free: 97.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/1.295, allocations: 17.58 kB / 0.6225 GB, free: 97.14 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005642/1.295, allocations: 235.7 kB / 0.6227 GB, free: 97.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002652/1.295, allocations: 71.45 kB / 0.6228 GB, free: 97.14 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.001181/1.297, allocations: 0.562 MB / 0.6234 GB, free: 97.04 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004393/1.301, allocations: 0.9114 MB / 0.6242 GB, free: 96.9 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.0006419/1.302, allocations: 161.5 kB / 0.6244 GB, free: 96.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006304/1.308, allocations: 4.437 MB / 0.6287 GB, free: 96.27 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/1.308, allocations: 3.281 kB / 0.6287 GB, free: 96.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004457/1.312, allocations: 2.251 MB / 0.6309 GB, free: 95.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003071/1.316, allocations: 266.6 kB / 0.6312 GB, free: 95.39 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02289/1.338, allocations: 7.477 MB / 0.6385 GB, free: 92.43 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006159/1.345, allocations: 3.412 MB / 0.6418 GB, free: 90.96 MB / 346.7 MB Notification: Performance of SimCode: time 2.605e-06/1.345, allocations: 0 / 0.6418 GB, free: 90.96 MB / 346.7 MB Notification: Performance of Templates: time 0.09258/1.437, allocations: 41.21 MB / 0.6821 GB, free: 63.32 MB / 346.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.sim & ./Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.BalancingDelta.pipe 2>&1)