Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.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.OneperfectTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneperfectTransfo") translateModel(PowerSysPro.Tests.OneperfectTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneperfectTransfo") [: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.001575/0.001575, allocations: 190.6 kB / 7.845 MB, free: 2.516 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.499/1.499, allocations: 221.4 MB / 229.7 MB, free: 3.004 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.0009579/0.0009579, allocations: 92.23 kB / 280.5 MB, free: 1.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03633/0.03633, allocations: 8.089 MB / 339.4 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.731e-06/5.781e-06, allocations: 0 / 397.9 MB, free: 68.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07916/0.07918, allocations: 52.5 MB / 450.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2459/0.3251, allocations: 78.99 MB / 0.517 GB, free: 15.22 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.3254, allocations: 61.84 kB / 0.517 GB, free: 15.19 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01378/0.3392, allocations: 5.43 MB / 0.5223 GB, free: 11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.757e-05/0.3393, allocations: 8 kB / 0.5224 GB, free: 10.99 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001045/0.3403, allocations: 0.5131 MB / 0.5229 GB, free: 10.45 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.3404, allocations: 11.97 kB / 0.5229 GB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.946e-05/0.3404, allocations: 15.81 kB / 0.5229 GB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.3407, allocations: 206.5 kB / 0.5231 GB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.3407, allocations: 4 kB / 0.5231 GB, free: 10.19 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.3407, allocations: 8 kB / 0.5231 GB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002341/0.341, allocations: 105 kB / 0.5232 GB, free: 10.13 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.3412, allocations: 166.5 kB / 0.5234 GB, free: 10 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3412, allocations: 0 / 0.5234 GB, free: 10 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.3412, allocations: 0 / 0.5234 GB, free: 10 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3413, allocations: 4 kB / 0.5234 GB, free: 9.996 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000881/0.3421, allocations: 0.5176 MB / 0.5239 GB, free: 9.527 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008489/0.343, allocations: 150.7 kB / 0.524 GB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.726e-05/0.3431, allocations: 44.84 kB / 0.524 GB, free: 9.371 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001391/0.3432, allocations: 89.03 kB / 0.5241 GB, free: 9.266 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.3433, allocations: 30.75 kB / 0.5242 GB, free: 9.227 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.3433, allocations: 3.938 kB / 0.5242 GB, free: 9.223 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007188/0.344, allocations: 174 kB / 0.5243 GB, free: 9.078 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.344, allocations: 78.3 kB / 0.5244 GB, free: 8.984 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.313e-05/0.3441, allocations: 125 kB / 0.5245 GB, free: 8.863 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.3442, allocations: 25.7 kB / 0.5246 GB, free: 8.832 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.53e-05/0.3442, allocations: 126.6 kB / 0.5247 GB, free: 8.711 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.3443, allocations: 26.06 kB / 0.5247 GB, free: 8.688 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-06/0.3443, allocations: 0 / 0.5247 GB, free: 8.688 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.174e-05/0.3444, allocations: 319.6 kB / 0.525 GB, free: 8.371 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.011e-05/0.3444, allocations: 35.38 kB / 0.525 GB, free: 8.348 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.883e-05/0.3445, allocations: 53.8 kB / 0.5251 GB, free: 8.297 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.3447, allocations: 42.59 kB / 0.5251 GB, free: 8.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3447, allocations: 0 / 0.5251 GB, free: 8.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005974/0.3453, allocations: 188.1 kB / 0.5253 GB, free: 8.113 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.3453, allocations: 8 kB / 0.5253 GB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3453, allocations: 0 / 0.5253 GB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005218/0.3459, allocations: 78.41 kB / 0.5254 GB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.836e-05/0.346, allocations: 15.98 kB / 0.5254 GB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/0.3476, allocations: 1.412 MB / 0.5268 GB, free: 6.602 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.3477, allocations: 7.969 kB / 0.5268 GB, free: 6.594 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.3478, allocations: 4 kB / 0.5268 GB, free: 6.59 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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 8.384e-05/0.3479, allocations: 109 kB / 0.5269 GB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.3479, allocations: 15.98 kB / 0.5269 GB, free: 6.465 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000654/0.3486, allocations: 210 kB / 0.5271 GB, free: 6.297 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3486, allocations: 4 kB / 0.5271 GB, free: 6.293 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.3486, allocations: 4 kB / 0.5271 GB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3486, allocations: 0 / 0.5271 GB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.3488, allocations: 203.1 kB / 0.5273 GB, free: 6.074 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3488, allocations: 0 / 0.5273 GB, free: 6.074 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.868e-05/0.3489, allocations: 16.27 kB / 0.5273 GB, free: 6.059 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004321/0.3493, allocations: 78.66 kB / 0.5274 GB, free: 5.992 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.985e-05/0.3494, allocations: 4 kB / 0.5274 GB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001451/0.3508, allocations: 1.406 MB / 0.5288 GB, free: 4.574 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3509, allocations: 0 / 0.5288 GB, free: 4.574 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006177/0.3515, allocations: 287 kB / 0.5291 GB, free: 4.312 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.792e-05/0.3515, allocations: 88.95 kB / 0.5291 GB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.3516, allocations: 0 / 0.5291 GB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.3517, allocations: 4 kB / 0.5291 GB, free: 4.203 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.957e-05/0.3517, allocations: 11.89 kB / 0.5292 GB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.3518, allocations: 3 kB / 0.5292 GB, free: 4.191 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.259e-05/0.3518, allocations: 96.2 kB / 0.5293 GB, free: 4.102 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003269/0.3521, allocations: 46.72 kB / 0.5293 GB, free: 4.059 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 (10): * Single equations (assignments): 9 * 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.0001617/0.3523, allocations: 104.9 kB / 0.5294 GB, free: 3.945 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006835/0.353, allocations: 216.1 kB / 0.5296 GB, free: 3.754 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.353, allocations: 0 / 0.5296 GB, free: 3.754 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004906/0.3535, allocations: 189.9 kB / 0.5298 GB, free: 3.574 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.3537, allocations: 4.484 kB / 0.5298 GB, free: 3.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003749/0.3541, allocations: 153.4 kB / 0.5299 GB, free: 3.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000335/0.3544, allocations: 0.7348 MB / 0.5307 GB, free: 2.648 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3545, allocations: 0 / 0.5307 GB, free: 2.648 MB / 346.7 MB Notification: Performance of Templates: time 0.004139/0.3586, allocations: 1.712 MB / 0.5323 GB, free: 0.9492 MB / 346.7 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.makefile (rm -f PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.sim & ./PowerSysPro_PowerSysPro.Tests.OneperfectTransfo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.OneperfectTransfo.pipe 2>&1)