Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2") [: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 3.2.3+maint.om/package.mo): time 0.002994/0.002994, allocations: 181.1 kB / 7.457 MB, free: 2.188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.276/1.276, allocations: 205.2 MB / 213.1 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009145/0.0009144, allocations: 89.39 kB / 261.1 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08631/0.08631, allocations: 12.59 MB / 321.6 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3096/0.3096, allocations: 78.05 MB / 450.4 MB, free: 3.238 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.871e-06/5.891e-06, allocations: 0 / 0.5141 GB, free: 29.96 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1667, allocations: 69.31 MB / 0.5818 GB, free: 8.746 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4112/0.578, allocations: 97.8 MB / 0.6773 GB, free: 9.441 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.5783, allocations: 71.34 kB / 0.6774 GB, free: 9.434 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.05936/0.6377, allocations: 21.98 MB / 0.6989 GB, free: 8.328 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.08e-05/0.6378, allocations: 16 kB / 0.6989 GB, free: 8.312 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.005515/0.6433, allocations: 1.645 MB / 0.7005 GB, free: 6.734 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.6434, allocations: 11.97 kB / 0.7005 GB, free: 6.723 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003825/0.6472, allocations: 0.5698 MB / 0.701 GB, free: 6.199 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001803/0.6491, allocations: 0.6701 MB / 0.7017 GB, free: 5.617 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003408/0.6494, allocations: 244.1 kB / 0.7019 GB, free: 5.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002729/0.6497, allocations: 40 kB / 0.702 GB, free: 5.301 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001598/0.6513, allocations: 0.748 MB / 0.7027 GB, free: 4.852 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.6528, allocations: 0.6927 MB / 0.7034 GB, free: 4.383 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.6528, allocations: 0 / 0.7034 GB, free: 4.383 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.893e-05/0.6529, allocations: 0 / 0.7034 GB, free: 4.383 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/0.6529, allocations: 19.98 kB / 0.7034 GB, free: 4.363 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006245/0.6591, allocations: 3.141 MB / 0.7065 GB, free: 1.902 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008911/0.6601, allocations: 0.5033 MB / 0.707 GB, free: 1.629 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007321/0.6608, allocations: 0.5037 MB / 0.7074 GB, free: 1.367 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/0.6609, allocations: 20.27 kB / 0.7075 GB, free: 1.352 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.661, allocations: 38.91 kB / 0.7075 GB, free: 1.305 MB / 442.7 MB Notification: Performance of pre-optimization done (n=82): time 2.544e-06/0.661, allocations: 0 / 0.7075 GB, free: 1.305 MB / 442.7 MB Notification: Performance of matching and sorting (n=82): time 0.01305/0.674, allocations: 4.176 MB / 0.7116 GB, free: 13.63 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.6741, allocations: 63.97 kB / 0.7116 GB, free: 13.56 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.6753, allocations: 0.6083 MB / 0.7122 GB, free: 13.1 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001996/0.6755, allocations: 25.7 kB / 0.7123 GB, free: 13.07 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002171/0.6758, allocations: 291.5 kB / 0.7125 GB, free: 12.82 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000488/0.6763, allocations: 273.8 kB / 0.7128 GB, free: 12.59 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.178e-05/0.6763, allocations: 0 / 0.7128 GB, free: 12.59 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.6765, allocations: 346.2 kB / 0.7131 GB, free: 12.25 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007569/0.6773, allocations: 398.8 kB / 0.7135 GB, free: 12.05 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007927/0.6781, allocations: 492.4 kB / 0.714 GB, free: 11.74 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007499/0.6788, allocations: 434.2 kB / 0.7144 GB, free: 11.51 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.6788, allocations: 0 / 0.7144 GB, free: 11.51 MB / 458.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.01305/0.6919, allocations: 4.232 MB / 0.7185 GB, free: 7.781 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.6919, allocations: 15.84 kB / 0.7185 GB, free: 7.766 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.692, allocations: 0 / 0.7185 GB, free: 7.766 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006401/0.6984, allocations: 1.754 MB / 0.7203 GB, free: 6.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008262/0.6992, allocations: 123.5 kB / 0.7204 GB, free: 6.113 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01531/0.7146, allocations: 6.389 MB / 0.7266 GB, free: 1.367 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/0.7162, allocations: 171.3 kB / 0.7268 GB, free: 1.199 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002681/0.7165, allocations: 31.48 kB / 0.7268 GB, free: 1.176 MB / 458.7 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order31.e1q:VARIABLE(start = order31.e1q0 unit = "1" ) "q-axis transient voltage" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005064/0.7171, allocations: 120.8 kB / 0.7269 GB, free: 1.051 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004825/0.7175, allocations: 106.7 kB / 0.727 GB, free: 0.9453 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/0.7309, allocations: 4.256 MB / 0.7312 GB, free: 13.24 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.24e-05/0.7309, allocations: 12 kB / 0.7312 GB, free: 13.23 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.731, allocations: 3.906 kB / 0.7312 GB, free: 13.22 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.497e-05/0.731, allocations: 3.984 kB / 0.7312 GB, free: 13.22 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01546/0.7464, allocations: 5.513 MB / 0.7366 GB, free: 8.348 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.7465, allocations: 7.922 kB / 0.7366 GB, free: 8.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006783/0.7472, allocations: 103.8 kB / 0.7367 GB, free: 8.238 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005831/0.753, allocations: 1.73 MB / 0.7384 GB, free: 6.504 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001816/0.7532, allocations: 4 kB / 0.7384 GB, free: 6.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01353/0.7668, allocations: 5.66 MB / 0.7439 GB, free: 0.7227 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.446e-06/0.7669, allocations: 4 kB / 0.7439 GB, free: 0.7188 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01465/0.7815, allocations: 4.966 MB / 0.7488 GB, free: 11.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004898/0.782, allocations: 195.6 kB / 0.7489 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003878/0.7825, allocations: 4 kB / 0.7489 GB, free: 11.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.7837, allocations: 127.9 kB / 0.7491 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003913/0.7841, allocations: 116.6 kB / 0.7492 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.7e-05/0.7843, allocations: 16 kB / 0.7492 GB, free: 11.26 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0008539/0.7851, allocations: 483.1 kB / 0.7497 GB, free: 10.79 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00154/0.7867, allocations: 367.5 kB / 0.75 GB, free: 10.43 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003669/0.787, allocations: 131 kB / 0.7501 GB, free: 10.29 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005499/0.7926, allocations: 1.852 MB / 0.7519 GB, free: 8.422 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.7926, allocations: 0 / 0.7519 GB, free: 8.422 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004379/0.797, allocations: 1.39 MB / 0.7533 GB, free: 7.023 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008082/0.7978, allocations: 59.2 kB / 0.7534 GB, free: 6.965 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004171/0.802, allocations: 1.243 MB / 0.7546 GB, free: 5.688 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/0.8031, allocations: 1.083 MB / 0.7556 GB, free: 4.574 MB / 490.7 MB Notification: Performance of SimCode: time 1.172e-06/0.8031, allocations: 4 kB / 0.7556 GB, free: 4.57 MB / 490.7 MB Notification: Performance of Templates: time 0.03022/0.8334, allocations: 17.4 MB / 0.7726 GB, free: 3.156 MB / 0.4948 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)