Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) 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(PowerSystems.Examples.AC3ph.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker") translateModel(PowerSystems.Examples.AC3ph.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker") [: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.001128/0.001128, allocations: 195.2 kB / 8.14 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.187/1.187, allocations: 194.2 MB / 202.8 MB, free: 8.738 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.001871/0.001871, allocations: 119.3 kB / 247.7 MB, free: 6.309 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1741/0.1741, allocations: 37.92 MB / 330.5 MB, free: 6.922 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.935e-06/7.975e-06, allocations: 4 kB / 389.8 MB, free: 78.13 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08987/0.08989, allocations: 53.23 MB / 443 MB, free: 24.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2853/0.3752, allocations: 99.58 MB / 0.5299 GB, free: 7.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/0.3755, allocations: 97.34 kB / 0.53 GB, free: 7.641 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.05266/0.4282, allocations: 19.09 MB / 0.5486 GB, free: 7.801 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.815e-05/0.4283, allocations: 23.44 kB / 0.5486 GB, free: 7.781 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.002751/0.4311, allocations: 1.059 MB / 0.5497 GB, free: 6.711 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.4311, allocations: 12.03 kB / 0.5497 GB, free: 6.699 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000942/0.4321, allocations: 138 kB / 0.5498 GB, free: 6.566 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0028/0.4349, allocations: 1.026 MB / 0.5508 GB, free: 5.684 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.007e-05/0.435, allocations: 31.11 kB / 0.5509 GB, free: 5.656 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002178/0.4352, allocations: 47.91 kB / 0.5509 GB, free: 5.609 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001779/0.437, allocations: 0.8017 MB / 0.5517 GB, free: 5.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001981/0.439, allocations: 0.956 MB / 0.5526 GB, free: 4.277 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/0.439, allocations: 7.938 kB / 0.5526 GB, free: 4.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.292e-05/0.4391, allocations: 4 kB / 0.5526 GB, free: 4.266 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.638e-05/0.4392, allocations: 40.73 kB / 0.5527 GB, free: 4.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005384/0.4446, allocations: 4.03 MB / 0.5566 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.4456, allocations: 0.6444 MB / 0.5572 GB, free: 228 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005805/0.4462, allocations: 448.1 kB / 0.5577 GB, free: 15.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.131e-05/0.4463, allocations: 12.64 kB / 0.5577 GB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007919/0.4471, allocations: 0.5836 MB / 0.5582 GB, free: 15.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 2.585e-06/0.4471, allocations: 0 / 0.5582 GB, free: 15.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=97): time 0.003593/0.4507, allocations: 2.093 MB / 0.5603 GB, free: 13.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.4509, allocations: 152.6 kB / 0.5604 GB, free: 13.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004594/0.4513, allocations: 390.7 kB / 0.5608 GB, free: 13.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.891e-05/0.4514, allocations: 33.08 kB / 0.5608 GB, free: 13.26 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/0.4517, allocations: 311.5 kB / 0.5611 GB, free: 12.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002736/0.4519, allocations: 285.9 kB / 0.5614 GB, free: 12.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.452, allocations: 0 / 0.5614 GB, free: 12.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001898/0.4522, allocations: 385.2 kB / 0.5618 GB, free: 12.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005773/0.4528, allocations: 383.9 kB / 0.5621 GB, free: 12.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006987/0.4535, allocations: 0.5855 MB / 0.5627 GB, free: 11.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007289/0.4542, allocations: 473.3 kB / 0.5632 GB, free: 11.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.4542, allocations: 0 / 0.5632 GB, free: 11.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002876/0.4571, allocations: 1.404 MB / 0.5645 GB, free: 10.19 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.4572, allocations: 8.469 kB / 0.5645 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002313/0.4595, allocations: 1.137 MB / 0.5657 GB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/0.4608, allocations: 431.4 kB / 0.5661 GB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005191/0.4614, allocations: 130.6 kB / 0.5662 GB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006436/0.4678, allocations: 4.223 MB / 0.5703 GB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006464/0.4685, allocations: 51.89 kB / 0.5704 GB, free: 5.414 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-05/0.4686, allocations: 45.3 kB / 0.5704 GB, free: 5.379 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 46 (system.initime,$whenCondition1,$PRE.relay.cnt,relay.cnt,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.breaker.breaker_a.arc,breaker.breaker_a.arc,$PRE.breaker.breaker_a.open,breaker.breaker_a.open,breaker.breaker_a.closed,$PRE.breaker.breaker_a.t0,breaker.breaker_a.t0,breaker.breaker_a.opening,$PRE.breaker.breaker_b.arc,breaker.breaker_b.arc,$PRE.breaker.breaker_b.open,breaker.breaker_b.open,breaker.breaker_b.closed,$PRE.breaker.breaker_b.t0,breaker.breaker_b.t0,breaker.breaker_b.opening,$PRE.breaker.breaker_c.arc,breaker.breaker_c.arc,$PRE.breaker.breaker_c.open,breaker.breaker_c.open,breaker.breaker_c.closed,$PRE.breaker.breaker_c.t0,breaker.breaker_c.t0,breaker.breaker_c.opening,$PRE.relay.y[1],relay.y[1],$PRE.relay.y[2],relay.y[2],$PRE.relay.y[3],relay.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 99 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 21} Notification: Performance of prepare postOptimizeDAE: time 0.0002579/0.4689, allocations: 185.4 kB / 0.5706 GB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.469, allocations: 67.16 kB / 0.5706 GB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001788/0.4708, allocations: 1.041 MB / 0.5717 GB, free: 4.363 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.799e-05/0.4708, allocations: 19.98 kB / 0.5717 GB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.4709, allocations: 4 kB / 0.5717 GB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.4709, allocations: 7.891 kB / 0.5717 GB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003331/0.4742, allocations: 2.004 MB / 0.5736 GB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.4742, allocations: 3.984 kB / 0.5737 GB, free: 2.504 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007104/0.475, allocations: 127.8 kB / 0.5738 GB, free: 2.379 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001462/0.4751, allocations: 82.61 kB / 0.5739 GB, free: 2.289 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-05/0.4752, allocations: 11.98 kB / 0.5739 GB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002544/0.4777, allocations: 3.741 MB / 0.5775 GB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.4778, allocations: 4.031 kB / 0.5775 GB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00247/0.4802, allocations: 1.737 MB / 0.5792 GB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/0.4804, allocations: 148.2 kB / 0.5794 GB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.4806, allocations: 8 kB / 0.5794 GB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005447/0.4811, allocations: 55.84 kB / 0.5794 GB, free: 12.17 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000191/0.4813, allocations: 68.67 kB / 0.5795 GB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.899e-05/0.4814, allocations: 31.92 kB / 0.5795 GB, free: 12.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0003429/0.4817, allocations: 287.2 kB / 0.5798 GB, free: 11.79 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001037/0.4828, allocations: 235.9 kB / 0.58 GB, free: 11.56 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 33 (breaker.breaker_c.closed,breaker.breaker_b.closed,breaker.breaker_a.closed,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,breaker.breaker_a.arc,breaker.breaker_a.open,breaker.breaker_a.t0,breaker.breaker_a.opening,breaker.breaker_b.arc,breaker.breaker_b.open,breaker.breaker_b.t0,breaker.breaker_b.opening,breaker.breaker_c.arc,breaker.breaker_c.open,breaker.breaker_c.t0,breaker.breaker_c.opening,relay.y[1],relay.y[2],relay.y[3],relay.cnt,system.initime) * Number of discrete states: 11 (breaker.breaker_a.arc,breaker.breaker_b.arc,breaker.breaker_c.arc,relay.y[3],relay.y[2],relay.y[1],relay.cnt,$whenCondition1,breaker.breaker_c.open,breaker.breaker_a.open,breaker.breaker_b.open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 72 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 7 * 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: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003751/0.4832, allocations: 173.7 kB / 0.5802 GB, free: 11.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002124/0.4853, allocations: 1.228 MB / 0.5814 GB, free: 10.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4853, allocations: 0.5 kB / 0.5814 GB, free: 10.14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.4865, allocations: 0.8926 MB / 0.5823 GB, free: 9.207 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000553/0.487, allocations: 85.14 kB / 0.5823 GB, free: 9.121 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002904/0.4899, allocations: 1.454 MB / 0.5838 GB, free: 7.637 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009659/0.4909, allocations: 1.107 MB / 0.5848 GB, free: 6.496 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4909, allocations: 0 / 0.5848 GB, free: 6.496 MB / 394.7 MB Notification: Performance of Templates: time 0.02078/0.5117, allocations: 11.95 MB / 0.5965 GB, free: 10.56 MB / 410.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe 2>&1)