Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") translateModel(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") [: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.00169/0.00169, allocations: 190.3 kB / 8.136 MB, free: 2.215 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.395/1.395, allocations: 194.2 MB / 202.8 MB, free: 8.754 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.00174/0.00174, allocations: 110.5 kB / 247.7 MB, free: 6.25 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1623/0.1623, allocations: 37.92 MB / 330.5 MB, free: 6.914 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.572e-06/6.612e-06, allocations: 0 / 389.8 MB, free: 78.11 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09838/0.0984, allocations: 53.23 MB / 443 MB, free: 24.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3103/0.4088, allocations: 90.02 MB / 0.5206 GB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/0.4091, allocations: 88.55 kB / 0.5206 GB, free: 10.37 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03594/0.445, allocations: 12.46 MB / 0.5328 GB, free: 5.391 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.786e-05/0.4451, allocations: 9.062 kB / 0.5328 GB, free: 5.391 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001134/0.4463, allocations: 0.6339 MB / 0.5334 GB, free: 4.863 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.4463, allocations: 8.031 kB / 0.5335 GB, free: 4.855 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000805/0.4471, allocations: 99.27 kB / 0.5335 GB, free: 4.758 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002098/0.4492, allocations: 0.8601 MB / 0.5344 GB, free: 4.016 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.4493, allocations: 12 kB / 0.5344 GB, free: 4.004 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.145e-05/0.4494, allocations: 30.75 kB / 0.5344 GB, free: 3.977 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004289/0.4498, allocations: 268.2 kB / 0.5347 GB, free: 3.801 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005098/0.4503, allocations: 420.5 kB / 0.5351 GB, free: 3.465 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.4503, allocations: 0 / 0.5351 GB, free: 3.465 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.353e-05/0.4504, allocations: 11.89 kB / 0.5351 GB, free: 3.453 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.322e-05/0.4504, allocations: 20.72 kB / 0.5351 GB, free: 3.438 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/0.4523, allocations: 1.562 MB / 0.5366 GB, free: 2.039 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.4525, allocations: 129.9 kB / 0.5368 GB, free: 1.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.4527, allocations: 102.2 kB / 0.5369 GB, free: 1.855 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.744e-05/0.4527, allocations: 8 kB / 0.5369 GB, free: 1.848 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.462e-05/0.4527, allocations: 34.55 kB / 0.5369 GB, free: 1.805 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 1.623e-06/0.4527, allocations: 0 / 0.5369 GB, free: 1.805 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.0009075/0.4536, allocations: 0.6743 MB / 0.5376 GB, free: 1.168 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/0.4537, allocations: 77.11 kB / 0.5376 GB, free: 1.074 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001859/0.4539, allocations: 246.6 kB / 0.5379 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.4539, allocations: 25.7 kB / 0.5379 GB, free: 0.8359 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.115e-05/0.454, allocations: 225.3 kB / 0.5381 GB, free: 0.6328 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.454, allocations: 66.25 kB / 0.5382 GB, free: 0.5742 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.304e-05/0.454, allocations: 3.938 kB / 0.5382 GB, free: 0.5703 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.431e-05/0.4541, allocations: 344.4 kB / 0.5385 GB, free: 244 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.4542, allocations: 95.09 kB / 0.5386 GB, free: 180 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001815/0.4544, allocations: 192.3 kB / 0.5388 GB, free: 15.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.4546, allocations: 128.1 kB / 0.5389 GB, free: 15.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.4546, allocations: 4 kB / 0.5389 GB, free: 15.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007693/0.4554, allocations: 400.1 kB / 0.5393 GB, free: 15.56 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.4554, allocations: 7.125 kB / 0.5393 GB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004512/0.4559, allocations: 254.9 kB / 0.5395 GB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003395/0.4562, allocations: 84.41 kB / 0.5396 GB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.4565, allocations: 55.91 kB / 0.5397 GB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.4579, allocations: 1.512 MB / 0.5411 GB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.4582, allocations: 4 kB / 0.5411 GB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/0.4582, allocations: 15.19 kB / 0.5412 GB, free: 13.71 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 (34): * Single equations (assignments): 33 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.4583, allocations: 113 kB / 0.5413 GB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.773e-05/0.4584, allocations: 31.66 kB / 0.5413 GB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003926/0.4588, allocations: 258.6 kB / 0.5415 GB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.4588, allocations: 4 kB / 0.5416 GB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.4588, allocations: 0 / 0.5416 GB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.4588, allocations: 0 / 0.5416 GB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/0.4599, allocations: 0.6977 MB / 0.5422 GB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4599, allocations: 0 / 0.5422 GB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002889/0.4602, allocations: 51.91 kB / 0.5423 GB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.4602, allocations: 8 kB / 0.5423 GB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.4602, allocations: 4 kB / 0.5423 GB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4602, allocations: 4.125 kB / 0.5423 GB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.301e-05/0.4603, allocations: 11.84 kB / 0.5423 GB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005356/0.4608, allocations: 0.4977 MB / 0.5428 GB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-05/0.4609, allocations: 100.7 kB / 0.5429 GB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.807e-05/0.4609, allocations: 4 kB / 0.5429 GB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.4611, allocations: 7.984 kB / 0.5429 GB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.4612, allocations: 15.33 kB / 0.5429 GB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.4612, allocations: 12 kB / 0.5429 GB, free: 12.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001737/0.4614, allocations: 189.5 kB / 0.5431 GB, free: 11.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004448/0.4618, allocations: 99.11 kB / 0.5432 GB, free: 11.8 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001864/0.462, allocations: 118.5 kB / 0.5433 GB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005603/0.4626, allocations: 340.4 kB / 0.5436 GB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4626, allocations: 0 / 0.5436 GB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.4627, allocations: 98.97 kB / 0.5437 GB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003768/0.4631, allocations: 66.75 kB / 0.5438 GB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.4644, allocations: 0.7152 MB / 0.5445 GB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005216/0.465, allocations: 0.8848 MB / 0.5454 GB, free: 9.691 MB / 362.7 MB Notification: Performance of SimCode: time 3.4e-07/0.465, allocations: 0 / 0.5454 GB, free: 9.691 MB / 362.7 MB Notification: Performance of Templates: time 0.007557/0.4725, allocations: 3.352 MB / 0.5486 GB, free: 6.391 MB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.pipe 2>&1)