Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") [: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.001249/0.001248, allocations: 190.9 kB / 8.136 MB, free: 2.195 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.163/1.163, 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.001662/0.001662, allocations: 117.5 kB / 247.7 MB, free: 6.426 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1698/0.1698, allocations: 37.91 MB / 330.5 MB, free: 6.914 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.49e-06/5.53e-06, allocations: 0 / 389.8 MB, free: 78.11 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08669/0.08672, allocations: 53.23 MB / 443 MB, free: 24.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2967/0.3835, allocations: 90.54 MB / 0.5211 GB, free: 10.15 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/0.3838, allocations: 85.2 kB / 0.5211 GB, free: 10.14 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02225/0.4061, allocations: 7.257 MB / 0.5282 GB, free: 7.371 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.871e-05/0.4062, allocations: 14.34 kB / 0.5282 GB, free: 7.363 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009553/0.4071, allocations: 0.5896 MB / 0.5288 GB, free: 6.871 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.4072, allocations: 8.406 kB / 0.5288 GB, free: 6.871 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.4073, allocations: 41.03 kB / 0.5289 GB, free: 6.852 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001837/0.4091, allocations: 0.7225 MB / 0.5296 GB, free: 6.441 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.4092, allocations: 8.781 kB / 0.5296 GB, free: 6.441 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.036e-05/0.4092, allocations: 14.91 kB / 0.5296 GB, free: 6.441 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004409/0.4097, allocations: 240.3 kB / 0.5298 GB, free: 6.402 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004718/0.4102, allocations: 324 kB / 0.5301 GB, free: 6.242 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.4102, allocations: 5.062 kB / 0.5301 GB, free: 6.238 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.4102, allocations: 1.062 kB / 0.5301 GB, free: 6.238 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.4102, allocations: 6.062 kB / 0.5301 GB, free: 6.238 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.4118, allocations: 1.385 MB / 0.5315 GB, free: 5.176 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.412, allocations: 145.5 kB / 0.5316 GB, free: 5.109 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.4121, allocations: 75 kB / 0.5317 GB, free: 5.086 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.4122, allocations: 5.625 kB / 0.5317 GB, free: 5.086 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.4122, allocations: 36.25 kB / 0.5317 GB, free: 5.047 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 1.893e-06/0.4122, allocations: 0 / 0.5317 GB, free: 5.047 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009287/0.4131, allocations: 0.5996 MB / 0.5323 GB, free: 4.641 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.4132, allocations: 78.42 kB / 0.5324 GB, free: 4.547 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.4134, allocations: 252 kB / 0.5326 GB, free: 4.426 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.4135, allocations: 25.7 kB / 0.5327 GB, free: 4.395 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.325e-05/0.4135, allocations: 189.9 kB / 0.5329 GB, free: 4.238 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.521e-05/0.4136, allocations: 54.7 kB / 0.5329 GB, free: 4.199 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.007e-05/0.4136, allocations: 0 / 0.5329 GB, free: 4.199 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.627e-05/0.4137, allocations: 344.7 kB / 0.5332 GB, free: 3.871 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.4138, allocations: 60.47 kB / 0.5333 GB, free: 3.863 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.4139, allocations: 159.6 kB / 0.5334 GB, free: 3.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.4141, allocations: 95.69 kB / 0.5335 GB, free: 3.703 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4141, allocations: 1.25 kB / 0.5335 GB, free: 3.703 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003957/0.4145, allocations: 256.5 kB / 0.5338 GB, free: 3.605 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.4145, allocations: 5.125 kB / 0.5338 GB, free: 3.605 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.4145, allocations: 5.062 kB / 0.5338 GB, free: 3.605 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.4146, allocations: 8.438 kB / 0.5338 GB, free: 3.602 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/0.4149, allocations: 59.19 kB / 0.5339 GB, free: 3.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.4149, allocations: 4.969 kB / 0.5339 GB, free: 3.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.4151, allocations: 10.14 kB / 0.5339 GB, free: 3.586 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.4151, allocations: 12.47 kB / 0.5339 GB, free: 3.582 MB / 346.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): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.532e-05/0.4152, allocations: 108 kB / 0.534 GB, free: 3.473 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.784e-05/0.4153, allocations: 31.97 kB / 0.534 GB, free: 3.457 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003645/0.4156, allocations: 224.9 kB / 0.5342 GB, free: 3.371 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.4156, allocations: 2.312 kB / 0.5342 GB, free: 3.371 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.4156, allocations: 4.984 kB / 0.5342 GB, free: 3.367 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.4157, allocations: 1.062 kB / 0.5342 GB, free: 3.367 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006518/0.4163, allocations: 0.5688 MB / 0.5348 GB, free: 3.004 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4163, allocations: 0 / 0.5348 GB, free: 3.004 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/0.4166, allocations: 39.61 kB / 0.5348 GB, free: 2.969 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.4166, allocations: 0 / 0.5348 GB, free: 2.969 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.4166, allocations: 4 kB / 0.5348 GB, free: 2.965 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.4166, allocations: 4.031 kB / 0.5348 GB, free: 2.961 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.4166, allocations: 4 kB / 0.5348 GB, free: 2.957 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004018/0.417, allocations: 443.5 kB / 0.5353 GB, free: 2.562 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.471e-05/0.4171, allocations: 100.9 kB / 0.5354 GB, free: 2.445 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.98e-05/0.4171, allocations: 4 kB / 0.5354 GB, free: 2.441 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.4173, allocations: 15.77 kB / 0.5354 GB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-05/0.4174, allocations: 7.984 kB / 0.5354 GB, free: 2.422 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.4174, allocations: 4 kB / 0.5354 GB, free: 2.418 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001344/0.4175, allocations: 199.3 kB / 0.5356 GB, free: 2.262 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003504/0.4179, allocations: 55.94 kB / 0.5356 GB, free: 2.207 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * 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.0001138/0.418, allocations: 107.2 kB / 0.5357 GB, free: 2.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002407/0.4182, allocations: 176.8 kB / 0.5359 GB, free: 1.957 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4183, allocations: 0 / 0.5359 GB, free: 1.957 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.4184, allocations: 89.34 kB / 0.536 GB, free: 1.891 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.4188, allocations: 59.64 kB / 0.536 GB, free: 1.848 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007616/0.4195, allocations: 462.2 kB / 0.5365 GB, free: 1.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002851/0.4198, allocations: 0.8431 MB / 0.5373 GB, free: 0.5508 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4198, allocations: 0 / 0.5373 GB, free: 0.5508 MB / 346.7 MB Notification: Performance of Templates: time 0.006042/0.4259, allocations: 2.793 MB / 0.54 GB, free: 13.81 MB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1)