Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") [: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 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 193.5 kB / 7.844 MB, free: 2.305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.237/1.237, allocations: 221.4 MB / 229.7 MB, free: 3.094 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009726/0.0009726, allocations: 98.64 kB / 280.5 MB, free: 1.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03595/0.03595, allocations: 8.102 MB / 339.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.102e-06/6.132e-06, allocations: 0 / 397.9 MB, free: 68.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07672/0.07674, allocations: 52.52 MB / 450.4 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2564/0.3331, allocations: 77.92 MB / 0.516 GB, free: 372 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/0.3334, allocations: 60.22 kB / 0.516 GB, free: 344 kB / 330.7 MB Notification: Performance of FrontEnd: time 0.009167/0.3426, allocations: 3.05 MB / 0.519 GB, free: 13.96 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.3426, allocations: 4.047 kB / 0.519 GB, free: 13.96 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005613/0.3432, allocations: 405.5 kB / 0.5194 GB, free: 13.53 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.3432, allocations: 11.97 kB / 0.5194 GB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/0.3433, allocations: 11.03 kB / 0.5194 GB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.3435, allocations: 174.9 kB / 0.5196 GB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.3435, allocations: 0 / 0.5196 GB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.3435, allocations: 4 kB / 0.5196 GB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001295/0.3436, allocations: 68.03 kB / 0.5196 GB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.3438, allocations: 79.42 kB / 0.5197 GB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.3438, allocations: 0 / 0.5197 GB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.3438, allocations: 4 kB / 0.5197 GB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3438, allocations: 4 kB / 0.5197 GB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00058/0.3444, allocations: 372.6 kB / 0.5201 GB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.3447, allocations: 95.23 kB / 0.5202 GB, free: 12.76 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.329e-05/0.3448, allocations: 29.45 kB / 0.5202 GB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.3449, allocations: 85.09 kB / 0.5203 GB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.3449, allocations: 30.56 kB / 0.5203 GB, free: 12.6 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.345, allocations: 4 kB / 0.5203 GB, free: 12.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003701/0.3453, allocations: 109.5 kB / 0.5204 GB, free: 12.5 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.3454, allocations: 55.39 kB / 0.5205 GB, free: 12.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.3455, allocations: 126.7 kB / 0.5206 GB, free: 12.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.3455, allocations: 29.7 kB / 0.5206 GB, free: 12.28 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.322e-05/0.3456, allocations: 95.64 kB / 0.5207 GB, free: 12.19 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.3456, allocations: 30.95 kB / 0.5207 GB, free: 12.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-06/0.3456, allocations: 0 / 0.5207 GB, free: 12.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.239e-05/0.3457, allocations: 318 kB / 0.521 GB, free: 11.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.34e-05/0.3457, allocations: 30.73 kB / 0.5211 GB, free: 11.83 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.79e-05/0.3458, allocations: 26.88 kB / 0.5211 GB, free: 11.81 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.3459, allocations: 41.97 kB / 0.5211 GB, free: 11.79 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3459, allocations: 4 kB / 0.5211 GB, free: 11.78 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003172/0.3462, allocations: 139.5 kB / 0.5213 GB, free: 11.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.3463, allocations: 4 kB / 0.5213 GB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3463, allocations: 0 / 0.5213 GB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002431/0.3465, allocations: 35.95 kB / 0.5213 GB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.897e-05/0.3466, allocations: 11.98 kB / 0.5213 GB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/0.3476, allocations: 1.284 MB / 0.5226 GB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.06e-05/0.3477, allocations: 3.906 kB / 0.5226 GB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.3478, allocations: 5.531 kB / 0.5226 GB, free: 10.27 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.147e-05/0.3478, allocations: 101.9 kB / 0.5227 GB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.3479, allocations: 11.89 kB / 0.5227 GB, free: 10.15 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002881/0.3482, allocations: 118.3 kB / 0.5228 GB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3482, allocations: 7.984 kB / 0.5228 GB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.3482, allocations: 4 kB / 0.5228 GB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3482, allocations: 3.984 kB / 0.5228 GB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.3484, allocations: 171.1 kB / 0.523 GB, free: 9.852 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3484, allocations: 0 / 0.523 GB, free: 9.852 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.67e-05/0.3484, allocations: 4 kB / 0.523 GB, free: 9.848 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001585/0.3486, allocations: 35.77 kB / 0.523 GB, free: 9.816 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.3486, allocations: 3.906 kB / 0.523 GB, free: 9.812 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009247/0.3496, allocations: 1.267 MB / 0.5243 GB, free: 8.496 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3496, allocations: 0 / 0.5243 GB, free: 8.496 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002874/0.3499, allocations: 221.4 kB / 0.5245 GB, free: 8.285 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.33e-05/0.3499, allocations: 88.95 kB / 0.5246 GB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.3499, allocations: 3.984 kB / 0.5246 GB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.3501, allocations: 8.094 kB / 0.5246 GB, free: 8.168 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.452e-05/0.3501, allocations: 4 kB / 0.5246 GB, free: 8.164 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.3501, allocations: 0 / 0.5246 GB, free: 8.164 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.437e-05/0.3502, allocations: 110.1 kB / 0.5247 GB, free: 8.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003122/0.3505, allocations: 24 kB / 0.5247 GB, free: 8.047 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001593/0.3507, allocations: 103.2 kB / 0.5248 GB, free: 7.934 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003157/0.351, allocations: 179.5 kB / 0.525 GB, free: 7.777 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.351, allocations: 0 / 0.525 GB, free: 7.777 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.3512, allocations: 136.4 kB / 0.5251 GB, free: 7.645 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.3514, allocations: 11.91 kB / 0.5251 GB, free: 7.633 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002568/0.3516, allocations: 112.7 kB / 0.5252 GB, free: 7.516 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002364/0.3519, allocations: 0.7113 MB / 0.5259 GB, free: 6.777 MB / 346.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3519, allocations: 0 / 0.5259 GB, free: 6.777 MB / 346.7 MB Notification: Performance of Templates: time 0.003604/0.3555, allocations: 1.402 MB / 0.5273 GB, free: 5.398 MB / 346.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1)