Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.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.OneEmergencySourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad") [: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.001494/0.001494, allocations: 191 kB / 7.842 MB, free: 2.508 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.315/1.315, allocations: 221.4 MB / 229.7 MB, free: 3.082 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.0008892/0.0008892, allocations: 96.45 kB / 280.5 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04541/0.04541, allocations: 8.102 MB / 339.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.478e-06/9.508e-06, allocations: 4 kB / 397.9 MB, free: 68.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.106, allocations: 52.52 MB / 450.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3132/0.4192, allocations: 78.8 MB / 0.5168 GB, free: 15.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.4195, allocations: 66.59 kB / 0.5169 GB, free: 15.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02023/0.4397, allocations: 7.317 MB / 0.524 GB, free: 9.723 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.4398, allocations: 4 kB / 0.524 GB, free: 9.719 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001639/0.4414, allocations: 0.6099 MB / 0.5246 GB, free: 9.098 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.4415, allocations: 11.97 kB / 0.5246 GB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001159/0.4416, allocations: 23.72 kB / 0.5247 GB, free: 9.062 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004409/0.4421, allocations: 248.1 kB / 0.5249 GB, free: 8.809 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.4421, allocations: 8 kB / 0.5249 GB, free: 8.801 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.103e-05/0.4421, allocations: 8 kB / 0.5249 GB, free: 8.793 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004571/0.4426, allocations: 231.2 kB / 0.5251 GB, free: 8.664 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004555/0.4431, allocations: 240.5 kB / 0.5254 GB, free: 8.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.4431, allocations: 0 / 0.5254 GB, free: 8.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.774e-05/0.4431, allocations: 0 / 0.5254 GB, free: 8.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.4432, allocations: 4 kB / 0.5254 GB, free: 8.496 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.4451, allocations: 1.181 MB / 0.5265 GB, free: 7.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000409/0.4455, allocations: 266.4 kB / 0.5268 GB, free: 7.238 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002202/0.4457, allocations: 150.8 kB / 0.5269 GB, free: 7.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001793/0.4459, allocations: 93.31 kB / 0.527 GB, free: 7.051 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003177/0.4462, allocations: 203 kB / 0.5272 GB, free: 6.906 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 2.043e-06/0.4463, allocations: 4.5 kB / 0.5272 GB, free: 6.902 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.001889/0.4481, allocations: 0.5658 MB / 0.5278 GB, free: 6.477 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.4482, allocations: 67.3 kB / 0.5278 GB, free: 6.398 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.4484, allocations: 150 kB / 0.528 GB, free: 6.266 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.4484, allocations: 29.7 kB / 0.528 GB, free: 6.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.138e-05/0.4485, allocations: 106.9 kB / 0.5281 GB, free: 6.129 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.191e-05/0.4486, allocations: 96.56 kB / 0.5282 GB, free: 6.043 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.695e-05/0.4486, allocations: 0 / 0.5282 GB, free: 6.043 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.4487, allocations: 330.6 kB / 0.5285 GB, free: 5.719 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.4489, allocations: 116.4 kB / 0.5286 GB, free: 5.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.4491, allocations: 149.8 kB / 0.5288 GB, free: 5.566 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004203/0.4496, allocations: 156.5 kB / 0.5289 GB, free: 5.473 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4496, allocations: 0 / 0.5289 GB, free: 5.473 MB / 346.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001815/0.4514, allocations: 0.5796 MB / 0.5295 GB, free: 5.039 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.4514, allocations: 4 kB / 0.5295 GB, free: 5.035 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.4514, allocations: 3.984 kB / 0.5295 GB, free: 5.031 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001565/0.453, allocations: 299.9 kB / 0.5298 GB, free: 4.781 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.4533, allocations: 39.91 kB / 0.5298 GB, free: 4.742 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004099/0.4574, allocations: 2.149 MB / 0.5319 GB, free: 2.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/0.4577, allocations: 11.84 kB / 0.5319 GB, free: 2.898 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-05/0.4577, allocations: 19.48 kB / 0.5319 GB, free: 2.883 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001564/0.4579, allocations: 104.9 kB / 0.532 GB, free: 2.773 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.326e-05/0.458, allocations: 19.81 kB / 0.532 GB, free: 2.754 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001949/0.4599, allocations: 0.6569 MB / 0.5327 GB, free: 2.262 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.4599, allocations: 4 kB / 0.5327 GB, free: 2.258 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4599, allocations: 4 kB / 0.5327 GB, free: 2.254 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.46, allocations: 0 / 0.5327 GB, free: 2.254 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004516/0.4604, allocations: 389.7 kB / 0.5331 GB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.4604, allocations: 4 kB / 0.5331 GB, free: 1.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.4606, allocations: 35.98 kB / 0.5331 GB, free: 1.895 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00142/0.4621, allocations: 301.7 kB / 0.5334 GB, free: 1.645 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.4621, allocations: 0 / 0.5334 GB, free: 1.645 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003337/0.4654, allocations: 2.148 MB / 0.5355 GB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.818e-06/0.4655, allocations: 0 / 0.5355 GB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001918/0.4674, allocations: 0.612 MB / 0.5361 GB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.4675, allocations: 100.8 kB / 0.5362 GB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.884e-05/0.4676, allocations: 7.938 kB / 0.5362 GB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002641/0.4679, allocations: 11.98 kB / 0.5362 GB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.046e-05/0.468, allocations: 19.47 kB / 0.5362 GB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.224e-05/0.468, allocations: 11.5 kB / 0.5362 GB, free: 15.18 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001447/0.4682, allocations: 129.1 kB / 0.5364 GB, free: 15.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000463/0.4686, allocations: 91.34 kB / 0.5364 GB, free: 14.98 MB / 362.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: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * 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 {3 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002578/0.4689, allocations: 107.2 kB / 0.5365 GB, free: 14.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.47, allocations: 477.2 kB / 0.537 GB, free: 14.53 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.47, allocations: 0 / 0.537 GB, free: 14.53 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000732/0.4708, allocations: 353.2 kB / 0.5373 GB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.471, allocations: 12.06 kB / 0.5374 GB, free: 14.24 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009064/0.472, allocations: 310 kB / 0.5376 GB, free: 13.97 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005152/0.4725, allocations: 0.7796 MB / 0.5384 GB, free: 13.17 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.4725, allocations: 0 / 0.5384 GB, free: 13.17 MB / 362.7 MB Notification: Performance of Templates: time 0.00962/0.4821, allocations: 5.361 MB / 0.5436 GB, free: 7.84 MB / 362.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneEmergencySourceTwoLinesOneLoad.pipe 2>&1)