Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.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.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") [: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.002623/0.002624, allocations: 178.9 kB / 7.454 MB, free: 2.492 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.422/1.422, 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.0009666/0.0009664, allocations: 89.09 kB / 261.1 MB, free: 13.55 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.0783/0.0783, allocations: 12.59 MB / 321.6 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2984/0.2984, allocations: 78.05 MB / 450.4 MB, free: 3.211 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.534e-06/7.564e-06, allocations: 0 / 0.5141 GB, free: 29.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1355, allocations: 69.31 MB / 0.5818 GB, free: 8.758 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3546/0.4901, allocations: 99.07 MB / 0.6786 GB, free: 9.07 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.4904, allocations: 83.27 kB / 0.6786 GB, free: 9.043 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.06322/0.5537, allocations: 24.1 MB / 0.7022 GB, free: 5.266 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.421e-05/0.5538, allocations: 20 kB / 0.7022 GB, free: 5.246 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.005416/0.5592, allocations: 1.833 MB / 0.704 GB, free: 3.492 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.5593, allocations: 11.97 kB / 0.704 GB, free: 3.48 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003677/0.5629, allocations: 0.5813 MB / 0.7046 GB, free: 2.945 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/0.5647, allocations: 0.728 MB / 0.7053 GB, free: 2.297 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000355/0.5651, allocations: 243.6 kB / 0.7055 GB, free: 2.027 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002924/0.5654, allocations: 44 kB / 0.7056 GB, free: 1.984 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001928/0.5674, allocations: 0.8152 MB / 0.7063 GB, free: 1.492 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/0.569, allocations: 0.7523 MB / 0.7071 GB, free: 0.9805 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.5691, allocations: 0 / 0.7071 GB, free: 0.9805 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.71e-05/0.5691, allocations: 0 / 0.7071 GB, free: 0.9805 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.047e-05/0.5692, allocations: 23.94 kB / 0.7071 GB, free: 0.957 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007366/0.5766, allocations: 3.461 MB / 0.7105 GB, free: 14.25 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.5777, allocations: 0.6608 MB / 0.7111 GB, free: 13.86 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008147/0.5785, allocations: 0.5469 MB / 0.7117 GB, free: 13.57 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001365/0.5787, allocations: 16.77 kB / 0.7117 GB, free: 13.55 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.5787, allocations: 41.84 kB / 0.7117 GB, free: 13.51 MB / 458.7 MB Notification: Performance of pre-optimization done (n=96): time 2.766e-06/0.5787, allocations: 0 / 0.7117 GB, free: 13.51 MB / 458.7 MB Notification: Performance of matching and sorting (n=96): time 0.01334/0.5921, allocations: 4.259 MB / 0.7159 GB, free: 9.77 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.5922, allocations: 60.19 kB / 0.7159 GB, free: 9.699 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001325/0.5935, allocations: 0.6711 MB / 0.7166 GB, free: 9.184 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002574/0.5938, allocations: 25.7 kB / 0.7166 GB, free: 9.152 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/0.594, allocations: 314.8 kB / 0.7169 GB, free: 8.887 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005966/0.5947, allocations: 321.5 kB / 0.7172 GB, free: 8.605 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.5948, allocations: 0 / 0.7172 GB, free: 8.605 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.595, allocations: 343.9 kB / 0.7176 GB, free: 8.277 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009632/0.5959, allocations: 425.2 kB / 0.718 GB, free: 8.062 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009938/0.5969, allocations: 0.5167 MB / 0.7185 GB, free: 7.73 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000962/0.5979, allocations: 470.9 kB / 0.7189 GB, free: 7.469 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.5979, allocations: 0 / 0.7189 GB, free: 7.469 MB / 458.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.01395/0.6119, allocations: 4.363 MB / 0.7232 GB, free: 3.66 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.263e-05/0.612, allocations: 7.281 kB / 0.7232 GB, free: 3.656 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.909e-05/0.612, allocations: 4 kB / 0.7232 GB, free: 3.652 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006177/0.6182, allocations: 1.747 MB / 0.7249 GB, free: 2.129 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.6194, allocations: 167.7 kB / 0.725 GB, free: 1.969 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01486/0.6342, allocations: 6.141 MB / 0.731 GB, free: 13.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/0.6359, allocations: 207.2 kB / 0.7312 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002092/0.6361, allocations: 27.81 kB / 0.7313 GB, free: 13.14 MB / 474.7 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(start = order2_Inputs_Outputs1.delta0 unit = "rad" ) "Rotor angle" 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 (73): * Single equations (assignments): 72 * 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 prepare postOptimizeDAE: time 0.0003773/0.6365, allocations: 124.7 kB / 0.7314 GB, free: 13.01 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003485/0.6369, allocations: 114.6 kB / 0.7315 GB, free: 12.89 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01325/0.6501, allocations: 4.345 MB / 0.7357 GB, free: 9.129 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.603e-05/0.6502, allocations: 8 kB / 0.7357 GB, free: 9.121 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.6502, allocations: 4 kB / 0.7358 GB, free: 9.117 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.061e-05/0.6503, allocations: 7.984 kB / 0.7358 GB, free: 9.109 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01634/0.6666, allocations: 5.712 MB / 0.7413 GB, free: 3.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.6667, allocations: 4 kB / 0.7413 GB, free: 3.477 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008074/0.6675, allocations: 151.8 kB / 0.7415 GB, free: 3.328 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005527/0.673, allocations: 1.726 MB / 0.7432 GB, free: 1.598 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001559/0.6732, allocations: 0 / 0.7432 GB, free: 1.598 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01345/0.6867, allocations: 5.664 MB / 0.7487 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.6867, allocations: 0 / 0.7487 GB, free: 11.82 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01468/0.7014, allocations: 5.128 MB / 0.7537 GB, free: 6.66 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005064/0.702, allocations: 207.4 kB / 0.7539 GB, free: 6.438 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000539/0.7025, allocations: 0 / 0.7539 GB, free: 6.438 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/0.7042, allocations: 163.8 kB / 0.7541 GB, free: 6.277 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005535/0.7047, allocations: 136.5 kB / 0.7542 GB, free: 6.145 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001413/0.7049, allocations: 24 kB / 0.7542 GB, free: 6.121 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001183/0.7061, allocations: 0.5143 MB / 0.7547 GB, free: 5.598 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001801/0.7079, allocations: 379.5 kB / 0.7551 GB, free: 5.227 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * 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.0003807/0.7083, allocations: 127.2 kB / 0.7552 GB, free: 5.094 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005673/0.714, allocations: 1.938 MB / 0.7571 GB, free: 3.145 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.714, allocations: 0 / 0.7571 GB, free: 3.145 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004505/0.7185, allocations: 1.44 MB / 0.7585 GB, free: 1.688 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009792/0.7195, allocations: 64.22 kB / 0.7586 GB, free: 1.621 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00544/0.725, allocations: 1.379 MB / 0.7599 GB, free: 220 kB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001184/0.7262, allocations: 1.146 MB / 0.761 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of SimCode: time 1.142e-06/0.7262, allocations: 0 / 0.761 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of Templates: time 0.03383/0.76, allocations: 18.36 MB / 0.779 GB, free: 12.68 MB / 0.5105 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)