Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneSource.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.OneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneSource") translateModel(PowerSysPro.Tests.OneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneSource") [: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.001363/0.001363, allocations: 190 kB / 7.842 MB, free: 2.473 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.249/1.249, allocations: 221.4 MB / 229.7 MB, free: 3.008 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.0009674/0.0009674, allocations: 96.97 kB / 280.5 MB, free: 1.168 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04002/0.04002, allocations: 8.095 MB / 339.4 MB, free: 6.262 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.36e-06/5.45e-06, allocations: 0 / 397.9 MB, free: 67.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07754/0.07756, allocations: 52.52 MB / 450.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2528/0.3305, allocations: 77.5 MB / 0.5155 GB, free: 424 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/0.3307, allocations: 59.86 kB / 0.5156 GB, free: 396 kB / 330.7 MB Notification: Performance of FrontEnd: time 0.006352/0.3371, allocations: 2.206 MB / 0.5178 GB, free: 14.67 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.3371, allocations: 0 / 0.5178 GB, free: 14.67 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.0004571/0.3376, allocations: 361.4 kB / 0.5181 GB, free: 14.28 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.3376, allocations: 11.97 kB / 0.5181 GB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.932e-05/0.3377, allocations: 7.906 kB / 0.5181 GB, free: 14.26 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.3378, allocations: 171 kB / 0.5183 GB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.3378, allocations: 3.391 kB / 0.5183 GB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.3379, allocations: 4 kB / 0.5183 GB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001176/0.338, allocations: 41.98 kB / 0.5183 GB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.3381, allocations: 66.05 kB / 0.5184 GB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.3381, allocations: 0 / 0.5184 GB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.3381, allocations: 8.844 kB / 0.5184 GB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.3382, allocations: 3.906 kB / 0.5184 GB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/0.3387, allocations: 308 kB / 0.5187 GB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.068e-05/0.3387, allocations: 22.02 kB / 0.5187 GB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.847e-05/0.3387, allocations: 4.922 kB / 0.5187 GB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.3389, allocations: 89.09 kB / 0.5188 GB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.3389, allocations: 34.56 kB / 0.5188 GB, free: 13.46 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.3389, allocations: 3.938 kB / 0.5188 GB, free: 13.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001985/0.3391, allocations: 45.16 kB / 0.5189 GB, free: 13.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.3392, allocations: 55.34 kB / 0.5189 GB, free: 13.35 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.3393, allocations: 107.3 kB / 0.519 GB, free: 13.25 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.3393, allocations: 29.69 kB / 0.5191 GB, free: 13.21 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.709e-05/0.3394, allocations: 111.2 kB / 0.5192 GB, free: 13.1 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.486e-06/0.3394, allocations: 7.891 kB / 0.5192 GB, free: 13.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.3394, allocations: 0 / 0.5192 GB, free: 13.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.3396, allocations: 314.8 kB / 0.5195 GB, free: 12.78 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.323e-05/0.3396, allocations: 11 kB / 0.5195 GB, free: 12.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.973e-05/0.3396, allocations: 11.38 kB / 0.5195 GB, free: 12.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.257e-05/0.3397, allocations: 18.61 kB / 0.5195 GB, free: 12.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3397, allocations: 0 / 0.5195 GB, free: 12.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001438/0.3399, allocations: 64.67 kB / 0.5196 GB, free: 12.69 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3399, allocations: 4 kB / 0.5196 GB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3399, allocations: 4 kB / 0.5196 GB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3399, allocations: 3.906 kB / 0.5196 GB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.417e-05/0.34, allocations: 11.98 kB / 0.5196 GB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.34, allocations: 2.156 kB / 0.5196 GB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.285e-05/0.3401, allocations: 7.938 kB / 0.5196 GB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.3401, allocations: 11.73 kB / 0.5196 GB, free: 12.65 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 (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.924e-05/0.3402, allocations: 101.9 kB / 0.5197 GB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/0.3402, allocations: 3.906 kB / 0.5197 GB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.3404, allocations: 60.2 kB / 0.5198 GB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.3404, allocations: 0 / 0.5198 GB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3404, allocations: 0 / 0.5198 GB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3404, allocations: 0 / 0.5198 GB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.3406, allocations: 152.7 kB / 0.5199 GB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3406, allocations: 0 / 0.5199 GB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.468e-05/0.3406, allocations: 4 kB / 0.5199 GB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.3406, allocations: 3.984 kB / 0.5199 GB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.3406, allocations: 0 / 0.5199 GB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3406, allocations: 0 / 0.5199 GB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3406, allocations: 8.031 kB / 0.5199 GB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001277/0.3408, allocations: 134.8 kB / 0.5201 GB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.235e-05/0.3408, allocations: 81.11 kB / 0.5202 GB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.3408, allocations: 7.844 kB / 0.5202 GB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.014e-05/0.3409, allocations: 0 / 0.5202 GB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.184e-05/0.3409, allocations: 0 / 0.5202 GB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.3409, allocations: 0 / 0.5202 GB, free: 12.04 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.387e-05/0.341, allocations: 98.05 kB / 0.5203 GB, free: 11.95 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002289/0.3412, allocations: 12 kB / 0.5203 GB, free: 11.94 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 (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001577/0.3414, allocations: 106.2 kB / 0.5204 GB, free: 11.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.507e-05/0.3415, allocations: 27.42 kB / 0.5204 GB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3415, allocations: 3 kB / 0.5204 GB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.073e-05/0.3415, allocations: 8 kB / 0.5204 GB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.3417, allocations: 3.906 kB / 0.5204 GB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002318/0.3419, allocations: 78.83 kB / 0.5205 GB, free: 11.69 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002571/0.3422, allocations: 0.6988 MB / 0.5212 GB, free: 10.96 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3422, allocations: 0 / 0.5212 GB, free: 10.96 MB / 346.7 MB Notification: Performance of Templates: time 0.00246/0.3446, allocations: 0.5552 MB / 0.5217 GB, free: 10.42 MB / 346.7 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.OneSource.makefile (rm -f PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneSource.sim & ./PowerSysPro_PowerSysPro.Tests.OneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.OneSource.pipe 2>&1)