Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLoad.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.Tests.OneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneLoad") translateModel(PowerSysPro.Tests.OneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneLoad") [: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.0009675/0.0009675, allocations: 191.7 kB / 7.845 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.155/1.155, allocations: 221.4 MB / 229.6 MB, free: 3 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.0009548/0.0009547, allocations: 96.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.03894/0.03894, allocations: 8.106 MB / 339.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.059e-06/5.08e-06, allocations: 0 / 397.9 MB, free: 68.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07631/0.07634, allocations: 52.51 MB / 450.4 MB, free: 15.51 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2275/0.3038, allocations: 77.75 MB / 0.5158 GB, free: 420 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001686/0.3041, allocations: 67.2 kB / 0.5158 GB, free: 384 kB / 330.7 MB Notification: Performance of FrontEnd: time 0.007465/0.3115, allocations: 2.628 MB / 0.5184 GB, free: 14.36 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.3116, allocations: 0 / 0.5184 GB, free: 14.36 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004619/0.3121, allocations: 381.7 kB / 0.5188 GB, free: 13.95 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.3121, allocations: 15.91 kB / 0.5188 GB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.425e-05/0.3122, allocations: 11.91 kB / 0.5188 GB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.3123, allocations: 181.8 kB / 0.519 GB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.3124, allocations: 0 / 0.519 GB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.3124, allocations: 4 kB / 0.519 GB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001171/0.3125, allocations: 48.73 kB / 0.519 GB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.3127, allocations: 71.12 kB / 0.5191 GB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.3127, allocations: 0 / 0.5191 GB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.3127, allocations: 0 / 0.5191 GB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.3128, allocations: 4 kB / 0.5191 GB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005239/0.3133, allocations: 341.7 kB / 0.5194 GB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.3135, allocations: 68.06 kB / 0.5195 GB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.822e-05/0.3136, allocations: 15.36 kB / 0.5195 GB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001361/0.3137, allocations: 81.11 kB / 0.5196 GB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.3138, allocations: 42.55 kB / 0.5196 GB, free: 13.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.3138, allocations: 0 / 0.5196 GB, free: 13.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.00038/0.3142, allocations: 83.31 kB / 0.5197 GB, free: 12.97 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.3142, allocations: 51.41 kB / 0.5197 GB, free: 12.91 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.3143, allocations: 109.6 kB / 0.5198 GB, free: 12.79 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.3143, allocations: 28.95 kB / 0.5199 GB, free: 12.76 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.747e-05/0.3144, allocations: 103.5 kB / 0.52 GB, free: 12.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.3144, allocations: 15.81 kB / 0.52 GB, free: 12.64 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-06/0.3144, allocations: 0 / 0.52 GB, free: 12.64 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3146, allocations: 318.3 kB / 0.5203 GB, free: 12.33 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.168e-05/0.3146, allocations: 7.188 kB / 0.5203 GB, free: 12.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.079e-05/0.3146, allocations: 15.36 kB / 0.5203 GB, free: 12.31 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.671e-05/0.3147, allocations: 11.5 kB / 0.5203 GB, free: 12.3 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3147, allocations: 0 / 0.5203 GB, free: 12.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002309/0.315, allocations: 85.3 kB / 0.5204 GB, free: 12.22 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.315, allocations: 11.12 kB / 0.5204 GB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.315, allocations: 0 / 0.5204 GB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002272/0.3152, allocations: 34.42 kB / 0.5204 GB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.8e-05/0.3153, allocations: 7.938 kB / 0.5205 GB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.3164, allocations: 1.23 MB / 0.5217 GB, free: 10.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.272e-05/0.3165, allocations: 7.969 kB / 0.5217 GB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.3165, allocations: 3.812 kB / 0.5217 GB, free: 10.85 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 (4): * Single equations (assignments): 3 * 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 9.749e-05/0.3166, allocations: 107.6 kB / 0.5218 GB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.3167, allocations: 7.906 kB / 0.5218 GB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002731/0.3169, allocations: 101.3 kB / 0.5219 GB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.317, allocations: 0 / 0.5219 GB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.317, allocations: 0 / 0.5219 GB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.317, allocations: 3.906 kB / 0.5219 GB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.3172, allocations: 161.6 kB / 0.522 GB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3172, allocations: 0 / 0.522 GB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.583e-05/0.3172, allocations: 7.938 kB / 0.522 GB, free: 10.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001439/0.3174, allocations: 28.2 kB / 0.5221 GB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.3174, allocations: 0 / 0.5221 GB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009034/0.3183, allocations: 1.221 MB / 0.5233 GB, free: 9.109 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3183, allocations: 160 / 0.5233 GB, free: 9.109 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002622/0.3186, allocations: 193.7 kB / 0.5234 GB, free: 8.914 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.188e-05/0.3186, allocations: 81.02 kB / 0.5235 GB, free: 8.816 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.3186, allocations: 3.938 kB / 0.5235 GB, free: 8.812 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.874e-05/0.3187, allocations: 11.98 kB / 0.5235 GB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.838e-05/0.3188, allocations: 3.906 kB / 0.5235 GB, free: 8.797 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.659e-06/0.3188, allocations: 11.69 kB / 0.5236 GB, free: 8.789 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.741e-05/0.3189, allocations: 90.89 kB / 0.5236 GB, free: 8.703 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002589/0.3191, allocations: 16 kB / 0.5237 GB, free: 8.688 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.0001725/0.3193, allocations: 110.7 kB / 0.5238 GB, free: 8.574 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002913/0.3196, allocations: 133.3 kB / 0.5239 GB, free: 8.441 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3196, allocations: 0 / 0.5239 GB, free: 8.441 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001779/0.3198, allocations: 137 kB / 0.524 GB, free: 8.305 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.32, allocations: 8.281 kB / 0.524 GB, free: 8.301 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002924/0.3203, allocations: 115.2 kB / 0.5241 GB, free: 8.176 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003813/0.3207, allocations: 0.7075 MB / 0.5248 GB, free: 7.441 MB / 346.7 MB Notification: Performance of SimCode: time 2.8e-07/0.3207, allocations: 0 / 0.5248 GB, free: 7.441 MB / 346.7 MB Notification: Performance of Templates: time 0.003681/0.3244, allocations: 1.065 MB / 0.5259 GB, free: 6.387 MB / 346.7 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.OneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLoad.sim & ./PowerSysPro_PowerSysPro.Tests.OneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.OneLoad.pipe 2>&1)