Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.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.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") [: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.001008/0.001009, allocations: 194.1 kB / 8.137 MB, free: 2.184 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.166/1.166, allocations: 194.2 MB / 202.8 MB, free: 8.664 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.001633/0.001633, allocations: 112.6 kB / 247.7 MB, free: 6.379 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1597/0.1597, allocations: 37.92 MB / 330.5 MB, free: 6.895 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.957e-06/8.987e-06, allocations: 0 / 389.8 MB, free: 78.11 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08834/0.08837, allocations: 53.23 MB / 443 MB, free: 24.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3176/0.406, allocations: 90.57 MB / 0.5211 GB, free: 10.24 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/0.4063, allocations: 84.17 kB / 0.5212 GB, free: 10.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03409/0.4404, allocations: 12.1 MB / 0.533 GB, free: 5.383 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.476e-05/0.4405, allocations: 7.719 kB / 0.533 GB, free: 5.383 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001024/0.4415, allocations: 0.618 MB / 0.5336 GB, free: 4.781 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.4415, allocations: 8.031 kB / 0.5336 GB, free: 4.773 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007012/0.4423, allocations: 95.36 kB / 0.5337 GB, free: 4.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001963/0.4442, allocations: 0.8578 MB / 0.5345 GB, free: 3.941 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.4443, allocations: 12 kB / 0.5345 GB, free: 3.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.949e-05/0.4443, allocations: 20 kB / 0.5346 GB, free: 3.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004142/0.4448, allocations: 283.6 kB / 0.5348 GB, free: 3.723 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005047/0.4453, allocations: 430.6 kB / 0.5352 GB, free: 3.379 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.4453, allocations: 7.844 kB / 0.5353 GB, free: 3.371 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.983e-05/0.4453, allocations: 0 / 0.5353 GB, free: 3.371 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.077e-05/0.4454, allocations: 23.84 kB / 0.5353 GB, free: 3.352 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001852/0.4472, allocations: 1.652 MB / 0.5369 GB, free: 1.828 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.4475, allocations: 126.3 kB / 0.537 GB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.4476, allocations: 105.2 kB / 0.5371 GB, free: 1.645 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.4476, allocations: 4 kB / 0.5371 GB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.4476, allocations: 34 kB / 0.5371 GB, free: 1.602 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.4476, allocations: 0 / 0.5371 GB, free: 1.602 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009588/0.4486, allocations: 0.6744 MB / 0.5378 GB, free: 0.9609 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.4487, allocations: 84.58 kB / 0.5379 GB, free: 0.8633 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.4489, allocations: 247.3 kB / 0.5381 GB, free: 0.6562 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.4489, allocations: 25.7 kB / 0.5381 GB, free: 0.625 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.511e-05/0.449, allocations: 229.4 kB / 0.5384 GB, free: 424 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.449, allocations: 60.41 kB / 0.5384 GB, free: 368 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.173e-05/0.449, allocations: 0 / 0.5384 GB, free: 368 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.741e-05/0.4491, allocations: 340.9 kB / 0.5387 GB, free: 32 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.4492, allocations: 92.44 kB / 0.5388 GB, free: 15.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.4494, allocations: 193.2 kB / 0.539 GB, free: 15.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.4496, allocations: 133.1 kB / 0.5391 GB, free: 15.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.4496, allocations: 7.938 kB / 0.5392 GB, free: 15.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008082/0.4505, allocations: 444.7 kB / 0.5396 GB, free: 15.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.4505, allocations: 4 kB / 0.5396 GB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005505/0.451, allocations: 303.2 kB / 0.5399 GB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004812/0.4515, allocations: 132.2 kB / 0.54 GB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.4517, allocations: 55.36 kB / 0.54 GB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00219/0.4539, allocations: 2.026 MB / 0.542 GB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.4541, allocations: 7.984 kB / 0.542 GB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.18e-05/0.4542, allocations: 15 kB / 0.5421 GB, free: 13.01 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 9.552e-05/0.4543, allocations: 116.3 kB / 0.5422 GB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.741e-05/0.4544, allocations: 27.7 kB / 0.5422 GB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003824/0.4548, allocations: 257.2 kB / 0.5424 GB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.4548, allocations: 4.062 kB / 0.5424 GB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.4548, allocations: 4 kB / 0.5424 GB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.4548, allocations: 0 / 0.5424 GB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009954/0.4558, allocations: 0.6945 MB / 0.5431 GB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.4558, allocations: 4 kB / 0.5431 GB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.456, allocations: 39.91 kB / 0.5432 GB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001029/0.4561, allocations: 40.27 kB / 0.5432 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.4562, allocations: 0 / 0.5432 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.4562, allocations: 4 kB / 0.5432 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4562, allocations: 0 / 0.5432 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005429/0.4567, allocations: 0.4978 MB / 0.5437 GB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.836e-05/0.4568, allocations: 108.3 kB / 0.5438 GB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.581e-05/0.4569, allocations: 4 kB / 0.5438 GB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.4571, allocations: 7.984 kB / 0.5438 GB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.4571, allocations: 15.3 kB / 0.5438 GB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.4571, allocations: 4 kB / 0.5438 GB, free: 11.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001657/0.4573, allocations: 186.8 kB / 0.544 GB, free: 11.17 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004554/0.4577, allocations: 91.38 kB / 0.5441 GB, free: 11.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001748/0.4579, allocations: 114.7 kB / 0.5442 GB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005784/0.4585, allocations: 374 kB / 0.5446 GB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4585, allocations: 0 / 0.5446 GB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.4587, allocations: 186.6 kB / 0.5447 GB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.4591, allocations: 54.75 kB / 0.5448 GB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.4602, allocations: 0.6613 MB / 0.5454 GB, free: 9.793 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004501/0.4607, allocations: 0.8734 MB / 0.5463 GB, free: 8.91 MB / 362.7 MB Notification: Performance of SimCode: time 4.6e-07/0.4607, allocations: 0 / 0.5463 GB, free: 8.91 MB / 362.7 MB Notification: Performance of Templates: time 0.007669/0.4684, allocations: 3.549 MB / 0.5497 GB, free: 5.414 MB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1)