Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.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.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource") [: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.001542/0.001542, allocations: 189.2 kB / 8.135 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.079/1.079, allocations: 194.2 MB / 202.8 MB, free: 8.758 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.00172/0.00172, allocations: 128.7 kB / 247.8 MB, free: 6.305 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.165/0.165, allocations: 37.91 MB / 330.5 MB, free: 6.996 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.623e-06/6.643e-06, allocations: 0 / 389.8 MB, free: 78.12 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09669/0.09672, allocations: 53.22 MB / 443 MB, free: 25 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2799/0.3767, allocations: 90.75 MB / 0.5213 GB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002642/0.377, allocations: 88.41 kB / 0.5213 GB, free: 10.45 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03358/0.4106, allocations: 12.11 MB / 0.5332 GB, free: 5.598 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.473e-05/0.4107, allocations: 12 kB / 0.5332 GB, free: 5.586 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.001067/0.4118, allocations: 0.6104 MB / 0.5338 GB, free: 4.953 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.4118, allocations: 8.031 kB / 0.5338 GB, free: 4.945 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006897/0.4125, allocations: 99.3 kB / 0.5339 GB, free: 4.852 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001994/0.4145, allocations: 0.8568 MB / 0.5347 GB, free: 4.117 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.4146, allocations: 12 kB / 0.5347 GB, free: 4.105 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.219e-05/0.4146, allocations: 20 kB / 0.5348 GB, free: 4.086 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004547/0.4151, allocations: 275.1 kB / 0.535 GB, free: 3.902 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000515/0.4156, allocations: 422.3 kB / 0.5354 GB, free: 3.566 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.4157, allocations: 3.906 kB / 0.5354 GB, free: 3.562 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.4157, allocations: 3.938 kB / 0.5354 GB, free: 3.559 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.572e-05/0.4157, allocations: 24.77 kB / 0.5354 GB, free: 3.535 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002025/0.4178, allocations: 1.627 MB / 0.537 GB, free: 2.035 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002161/0.418, allocations: 118.8 kB / 0.5371 GB, free: 1.934 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.4181, allocations: 107.5 kB / 0.5373 GB, free: 1.855 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.4182, allocations: 2.812 kB / 0.5373 GB, free: 1.855 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/0.4182, allocations: 34.56 kB / 0.5373 GB, free: 1.812 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.4182, allocations: 0 / 0.5373 GB, free: 1.812 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009673/0.4192, allocations: 0.6528 MB / 0.5379 GB, free: 1.188 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.4192, allocations: 81.11 kB / 0.538 GB, free: 1.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.4194, allocations: 241.9 kB / 0.5382 GB, free: 0.8906 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.4194, allocations: 25.7 kB / 0.5383 GB, free: 0.8594 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.918e-05/0.4195, allocations: 228.5 kB / 0.5385 GB, free: 0.6484 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.4196, allocations: 58.3 kB / 0.5385 GB, free: 0.5977 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/0.4196, allocations: 0 / 0.5385 GB, free: 0.5977 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.191e-05/0.4197, allocations: 340.8 kB / 0.5389 GB, free: 276 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.4198, allocations: 88.97 kB / 0.5389 GB, free: 212 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.4199, allocations: 181.9 kB / 0.5391 GB, free: 20 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.4201, allocations: 121.3 kB / 0.5392 GB, free: 15.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4201, allocations: 7.938 kB / 0.5392 GB, free: 15.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007853/0.4209, allocations: 429.3 kB / 0.5396 GB, free: 15.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.421, allocations: 4 kB / 0.5396 GB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005399/0.4215, allocations: 279.1 kB / 0.5399 GB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004819/0.422, allocations: 127.6 kB / 0.54 GB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.4222, allocations: 58.69 kB / 0.5401 GB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002242/0.4245, allocations: 1.974 MB / 0.542 GB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.4247, allocations: 8 kB / 0.542 GB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.4247, allocations: 15.3 kB / 0.542 GB, free: 13.34 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.927e-05/0.4248, allocations: 116.8 kB / 0.5422 GB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.596e-05/0.4249, allocations: 27.7 kB / 0.5422 GB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003911/0.4253, allocations: 241.4 kB / 0.5424 GB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.4253, allocations: 4 kB / 0.5424 GB, free: 13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.4253, allocations: 64 / 0.5424 GB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.4253, allocations: 4 kB / 0.5424 GB, free: 13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.4263, allocations: 0.6702 MB / 0.5431 GB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.4264, allocations: 0 / 0.5431 GB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.4266, allocations: 42.67 kB / 0.5431 GB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001004/0.4267, allocations: 36.42 kB / 0.5431 GB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.4267, allocations: 4.125 kB / 0.5432 GB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001171/0.4279, allocations: 1.389 MB / 0.5445 GB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4279, allocations: 3.938 kB / 0.5445 GB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000524/0.4285, allocations: 490.1 kB / 0.545 GB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.727e-05/0.4285, allocations: 101 kB / 0.5451 GB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.026e-05/0.4286, allocations: 7.906 kB / 0.5451 GB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.4288, allocations: 7.984 kB / 0.5451 GB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.325e-05/0.4288, allocations: 11.42 kB / 0.5451 GB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.4288, allocations: 4 kB / 0.5451 GB, free: 10.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001554/0.429, allocations: 190.3 kB / 0.5453 GB, free: 10.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004831/0.4295, allocations: 87.31 kB / 0.5454 GB, free: 10.02 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): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001982/0.4297, allocations: 114.8 kB / 0.5455 GB, free: 9.898 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005738/0.4303, allocations: 355.3 kB / 0.5458 GB, free: 9.605 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4303, allocations: 0 / 0.5458 GB, free: 9.605 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002903/0.4306, allocations: 212.7 kB / 0.546 GB, free: 9.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.431, allocations: 58.56 kB / 0.5461 GB, free: 9.371 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.4322, allocations: 0.6646 MB / 0.5467 GB, free: 8.715 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000473/0.4327, allocations: 0.8679 MB / 0.5476 GB, free: 7.836 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4327, allocations: 0 / 0.5476 GB, free: 7.836 MB / 362.7 MB Notification: Performance of Templates: time 0.007712/0.4404, allocations: 3.662 MB / 0.5512 GB, free: 4.223 MB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1)