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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001458/0.001458, allocations: 187.9 kB / 8.351 MB, free: 0.707 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.539/1.539, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001755/0.001755, allocations: 122.2 kB / 248.1 MB, free: 6.324 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 1.389e-05/1.377e-05, allocations: 0 / 298.1 MB, free: 8.242 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08355/0.08358, allocations: 44.5 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2921/0.3757, allocations: 84.29 MB / 426.9 MB, free: 11.67 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.376, allocations: 86.66 kB / 427 MB, free: 11.62 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.4791/0.8552, allocations: 140.5 MB / 0.5541 GB, free: 77.88 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.8552, allocations: 3.844 kB / 0.5541 GB, free: 77.88 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0001901/0.8554, allocations: 90.98 kB / 0.5542 GB, free: 77.87 MB / 395.1 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.0118/0.8672, allocations: 3.88 MB / 0.558 GB, free: 76.54 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.8673, allocations: 10.06 kB / 0.558 GB, free: 76.54 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01082/0.8781, allocations: 1.807 MB / 0.5598 GB, free: 76.31 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005853/0.884, allocations: 2.431 MB / 0.5622 GB, free: 75.76 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004085/0.8845, allocations: 143.8 kB / 0.5623 GB, free: 75.76 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001542/0.886, allocations: 249 kB / 0.5625 GB, free: 75.75 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01007/0.8961, allocations: 5.219 MB / 0.5676 GB, free: 74.9 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.011/0.9071, allocations: 6.151 MB / 0.5736 GB, free: 72.24 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-05/0.9073, allocations: 3.969 kB / 0.5736 GB, free: 72.24 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003928/0.9077, allocations: 4.453 kB / 0.5736 GB, free: 72.24 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002254/0.9079, allocations: 279.1 kB / 0.5739 GB, free: 72.16 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02779/0.9357, allocations: 20.53 MB / 0.594 GB, free: 61.79 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005823/0.9416, allocations: 7.55 MB / 0.6013 GB, free: 56.1 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003137/0.9447, allocations: 2.859 MB / 0.6041 GB, free: 54.89 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01136/0.9561, allocations: 9.458 MB / 0.6134 GB, free: 49.58 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/0.9562, allocations: 59.38 kB / 0.6134 GB, free: 49.52 MB / 395.1 MB Notification: Performance of pre-optimization done (n=265): time 4.759e-06/0.9562, allocations: 0 / 0.6134 GB, free: 49.52 MB / 395.1 MB Notification: Performance of matching and sorting (n=265): time 0.005324/0.9615, allocations: 4.365 MB / 0.6177 GB, free: 45.1 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.9616, allocations: 73.34 kB / 0.6177 GB, free: 45.02 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.963, allocations: 1.041 MB / 0.6188 GB, free: 43.96 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001392/0.9632, allocations: 25.7 kB / 0.6188 GB, free: 43.93 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006441/0.9638, allocations: 1.651 MB / 0.6204 GB, free: 42.25 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000581/0.9644, allocations: 0.8623 MB / 0.6212 GB, free: 41.38 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.9646, allocations: 0 / 0.6212 GB, free: 41.38 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.9648, allocations: 493.6 kB / 0.6217 GB, free: 40.89 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001939/0.9667, allocations: 1.876 MB / 0.6235 GB, free: 39.01 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002226/0.969, allocations: 2.63 MB / 0.6261 GB, free: 36.06 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003634/0.9726, allocations: 2.696 MB / 0.6287 GB, free: 33.35 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.567e-05/0.9726, allocations: 8 kB / 0.6287 GB, free: 33.34 MB / 395.1 MB Notification: Performance of matching and sorting (n=423) (initialization): time 0.007297/0.9799, allocations: 5.615 MB / 0.6342 GB, free: 27.68 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.98, allocations: 16 kB / 0.6342 GB, free: 27.66 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.847e-05/0.98, allocations: 24 kB / 0.6343 GB, free: 27.64 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001241/0.9813, allocations: 1.062 MB / 0.6353 GB, free: 26.59 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/0.9831, allocations: 0.5303 MB / 0.6358 GB, free: 26.05 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002903/0.986, allocations: 3.962 MB / 0.6397 GB, free: 22.02 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002237/0.9883, allocations: 324.1 kB / 0.64 GB, free: 21.7 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002789/0.9886, allocations: 140 kB / 0.6401 GB, free: 21.57 MB / 395.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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] 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[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] powerSensor.powerSensor[2].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[3].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] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: 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[1].i.re:VARIABLE(flow=true unit = "A" ) "Real 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] 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[2].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] 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 (305): * Single equations (assignments): 253 * 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.000587/0.9892, allocations: 225.1 kB / 0.6404 GB, free: 21.35 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003899/0.9896, allocations: 157.9 kB / 0.6405 GB, free: 21.19 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006633/0.9962, allocations: 4.688 MB / 0.6451 GB, free: 16.45 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004672/1.001, allocations: 4.334 MB / 0.6493 GB, free: 12.07 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/1.001, allocations: 8 kB / 0.6493 GB, free: 12.06 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/1.001, allocations: 11.95 kB / 0.6493 GB, free: 12.05 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01107/1.012, allocations: 8.817 MB / 0.6579 GB, free: 3.188 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/1.012, allocations: 0 / 0.6579 GB, free: 3.188 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/1.013, allocations: 255.7 kB / 0.6582 GB, free: 2.938 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001188/1.014, allocations: 1.028 MB / 0.6592 GB, free: 1.914 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001381/1.015, allocations: 31.97 kB / 0.6592 GB, free: 1.883 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2322/1.247, allocations: 3.919 MB / 0.663 GB, free: 75.23 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/1.247, allocations: 0 / 0.663 GB, free: 75.23 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009736/1.257, allocations: 7.205 MB / 0.6701 GB, free: 74.96 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006723/1.257, allocations: 294.3 kB / 0.6704 GB, free: 74.84 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003121/1.258, allocations: 3.75 kB / 0.6704 GB, free: 74.84 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000883/1.258, allocations: 55.42 kB / 0.6704 GB, free: 74.84 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003555/1.259, allocations: 205.7 kB / 0.6706 GB, free: 74.84 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001612/1.259, allocations: 70.08 kB / 0.6707 GB, free: 74.84 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0009744/1.26, allocations: 0.7343 MB / 0.6714 GB, free: 74.73 MB / 395.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.26, allocations: 0 / 0.6714 GB, free: 74.73 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.002871/1.263, allocations: 0.9232 MB / 0.6723 GB, free: 74.61 MB / 395.1 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 (152): * Single equations (assignments): 100 * 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.0004954/1.263, allocations: 170.3 kB / 0.6725 GB, free: 74.52 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.006369/1.27, allocations: 4.35 MB / 0.6767 GB, free: 74.43 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.27, allocations: 0 / 0.6767 GB, free: 74.43 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002607/1.272, allocations: 2.024 MB / 0.6787 GB, free: 74.4 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001836/1.274, allocations: 233 kB / 0.6789 GB, free: 74.39 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01638/1.291, allocations: 7.388 MB / 0.6861 GB, free: 73.35 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003572/1.294, allocations: 3.044 MB / 0.6891 GB, free: 72.58 MB / 395.1 MB Notification: Performance of simCode: alias equations: time 0.002281/1.297, allocations: 0.5784 MB / 0.6897 GB, free: 72.55 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003934/1.297, allocations: 112.4 kB / 0.6898 GB, free: 72.55 MB / 395.1 MB Notification: Performance of SimCode: time 1.173e-06/1.297, allocations: 0 / 0.6898 GB, free: 72.55 MB / 395.1 MB Notification: Performance of Templates: time 0.0585/1.356, allocations: 35.28 MB / 0.7242 GB, free: 70.18 MB / 395.1 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)