Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.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.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") [: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.001647/0.001647, allocations: 198.6 kB / 7.85 MB, free: 2.477 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.236/1.236, allocations: 221.4 MB / 229.7 MB, free: 3.234 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.0009535/0.0009535, allocations: 95.81 kB / 280.5 MB, free: 1.309 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03569/0.03569, allocations: 8.099 MB / 339.4 MB, free: 6.406 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.251e-06/6.291e-06, allocations: 4 kB / 397.9 MB, free: 68.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07148/0.0715, allocations: 52.5 MB / 450.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2282/0.2997, allocations: 78.85 MB / 0.5169 GB, free: 15.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001653/0.2999, allocations: 60.47 kB / 0.5169 GB, free: 15.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01942/0.3194, allocations: 7.301 MB / 0.524 GB, free: 9.711 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.3194, allocations: 8 kB / 0.524 GB, free: 9.703 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001318/0.3207, allocations: 0.601 MB / 0.5246 GB, free: 9.09 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3208, allocations: 15.91 kB / 0.5246 GB, free: 9.074 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.499e-05/0.3209, allocations: 24.47 kB / 0.5247 GB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.3212, allocations: 247.6 kB / 0.5249 GB, free: 8.797 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.3213, allocations: 8 kB / 0.5249 GB, free: 8.789 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.383e-05/0.3213, allocations: 15.98 kB / 0.5249 GB, free: 8.773 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003616/0.3217, allocations: 233 kB / 0.5252 GB, free: 8.645 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/0.322, allocations: 230.5 kB / 0.5254 GB, free: 8.492 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.322, allocations: 0 / 0.5254 GB, free: 8.492 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.3221, allocations: 0 / 0.5254 GB, free: 8.492 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.3221, allocations: 11.92 kB / 0.5254 GB, free: 8.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.3238, allocations: 1.168 MB / 0.5265 GB, free: 7.441 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.3241, allocations: 256.8 kB / 0.5268 GB, free: 7.277 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.3243, allocations: 146.3 kB / 0.5269 GB, free: 7.199 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001389/0.3245, allocations: 85.09 kB / 0.527 GB, free: 7.098 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.3245, allocations: 37.88 kB / 0.527 GB, free: 7.055 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 1.392e-06/0.3245, allocations: 0 / 0.527 GB, free: 7.055 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.001674/0.3262, allocations: 0.542 MB / 0.5276 GB, free: 6.656 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.3262, allocations: 59.34 kB / 0.5276 GB, free: 6.586 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.3264, allocations: 174.6 kB / 0.5278 GB, free: 6.434 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.3264, allocations: 29.7 kB / 0.5278 GB, free: 6.398 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.252e-05/0.3265, allocations: 111.7 kB / 0.5279 GB, free: 6.293 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.296e-05/0.3265, allocations: 78.22 kB / 0.528 GB, free: 6.223 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.586e-05/0.3266, allocations: 4 kB / 0.528 GB, free: 6.219 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.813e-05/0.3267, allocations: 336.5 kB / 0.5283 GB, free: 5.891 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.3268, allocations: 125.6 kB / 0.5284 GB, free: 5.824 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.327, allocations: 121.9 kB / 0.5285 GB, free: 5.766 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004012/0.3274, allocations: 164.5 kB / 0.5287 GB, free: 5.668 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3274, allocations: 0 / 0.5287 GB, free: 5.668 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001615/0.329, allocations: 0.5867 MB / 0.5293 GB, free: 5.238 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.3291, allocations: 6.969 kB / 0.5293 GB, free: 5.234 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3291, allocations: 3.984 kB / 0.5293 GB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001358/0.3304, allocations: 283.9 kB / 0.5296 GB, free: 5.004 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.3306, allocations: 35.91 kB / 0.5296 GB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003111/0.3337, allocations: 2.335 MB / 0.5319 GB, free: 3.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.3339, allocations: 15.75 kB / 0.5319 GB, free: 3.055 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.976e-05/0.334, allocations: 7.984 kB / 0.5319 GB, free: 3.047 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 (19): * Single equations (assignments): 18 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 9.634e-05/0.3341, allocations: 105 kB / 0.532 GB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.823e-05/0.3341, allocations: 23.78 kB / 0.532 GB, free: 2.914 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001711/0.3359, allocations: 0.6108 MB / 0.5326 GB, free: 2.469 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.3359, allocations: 7.984 kB / 0.5326 GB, free: 2.461 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.3359, allocations: 0 / 0.5326 GB, free: 2.461 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3359, allocations: 0 / 0.5326 GB, free: 2.461 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003789/0.3363, allocations: 383.3 kB / 0.533 GB, free: 2.145 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3363, allocations: 4 kB / 0.533 GB, free: 2.141 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.3364, allocations: 27.92 kB / 0.533 GB, free: 2.113 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001357/0.3378, allocations: 286.8 kB / 0.5333 GB, free: 1.883 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.3378, allocations: 8 kB / 0.5333 GB, free: 1.875 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003074/0.3409, allocations: 2.328 MB / 0.5356 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.3409, allocations: 96 / 0.5356 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001657/0.3426, allocations: 0.6637 MB / 0.5362 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.549e-05/0.3427, allocations: 115.7 kB / 0.5363 GB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.3427, allocations: 0 / 0.5363 GB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.343, allocations: 8 kB / 0.5363 GB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.343, allocations: 15.97 kB / 0.5364 GB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.345e-05/0.343, allocations: 7.312 kB / 0.5364 GB, free: 15.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001189/0.3432, allocations: 140.4 kB / 0.5365 GB, free: 15.19 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004367/0.3436, allocations: 83.94 kB / 0.5366 GB, free: 15.11 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002423/0.3439, allocations: 110.2 kB / 0.5367 GB, free: 14.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000965/0.3448, allocations: 463.4 kB / 0.5371 GB, free: 14.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3448, allocations: 0 / 0.5371 GB, free: 14.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006104/0.3455, allocations: 310.8 kB / 0.5374 GB, free: 14.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.3457, allocations: 15.09 kB / 0.5374 GB, free: 14.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007336/0.3465, allocations: 298.5 kB / 0.5377 GB, free: 14.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003217/0.3468, allocations: 0.7671 MB / 0.5385 GB, free: 13.38 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3468, allocations: 0 / 0.5385 GB, free: 13.38 MB / 362.7 MB Notification: Performance of Templates: time 0.009543/0.3564, allocations: 5.612 MB / 0.544 GB, free: 7.801 MB / 362.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1)