Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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 4.0.0+maint.om/package.mo): time 0.002286/0.002286, allocations: 179.1 kB / 7.463 MB, free: 2.484 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.274/1.274, allocations: 221.4 MB / 229.3 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.0009404/0.0009398, allocations: 102.1 kB / 280.1 MB, free: 1.293 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4938/0.4938, allocations: 78.92 MB / 409.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.943e-06/7.113e-06, allocations: 0 / 485.4 MB, free: 3.629 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.355, allocations: 69.5 MB / 0.5419 GB, free: 20.7 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1259/0.4809, allocations: 98.08 MB / 0.6377 GB, free: 5.859 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.4812, allocations: 79.95 kB / 0.6377 GB, free: 5.777 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.07091/0.5522, allocations: 25.12 MB / 0.6623 GB, free: 12.46 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.222e-05/0.5523, allocations: 24 kB / 0.6623 GB, free: 12.44 MB / 490.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.005734/0.558, allocations: 1.836 MB / 0.6641 GB, free: 10.56 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.5581, allocations: 11.97 kB / 0.6641 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003834/0.5619, allocations: 0.5759 MB / 0.6647 GB, free: 9.969 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002007/0.564, allocations: 0.7167 MB / 0.6654 GB, free: 9.195 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003409/0.5643, allocations: 244.1 kB / 0.6656 GB, free: 8.922 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002713/0.5646, allocations: 51.94 kB / 0.6656 GB, free: 8.871 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00201/0.5666, allocations: 0.8163 MB / 0.6664 GB, free: 8.055 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.5684, allocations: 0.757 MB / 0.6672 GB, free: 7.289 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.5684, allocations: 0 / 0.6672 GB, free: 7.289 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.179e-05/0.5685, allocations: 0 / 0.6672 GB, free: 7.289 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.154e-05/0.5685, allocations: 20 kB / 0.6672 GB, free: 7.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007634/0.5762, allocations: 3.444 MB / 0.6706 GB, free: 3.688 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/0.5774, allocations: 0.6727 MB / 0.6712 GB, free: 3.004 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009555/0.5784, allocations: 0.5394 MB / 0.6717 GB, free: 2.461 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001282/0.5785, allocations: 24.75 kB / 0.6718 GB, free: 2.438 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.5786, allocations: 43.34 kB / 0.6718 GB, free: 2.387 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 4.318e-06/0.5786, allocations: 3.984 kB / 0.6718 GB, free: 2.383 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.2202/0.7988, allocations: 4.251 MB / 0.676 GB, free: 142.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.7989, allocations: 63.47 kB / 0.676 GB, free: 142 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000891/0.7998, allocations: 0.6678 MB / 0.6767 GB, free: 141.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001802/0.8, allocations: 25.7 kB / 0.6767 GB, free: 141.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.8001, allocations: 316.6 kB / 0.677 GB, free: 141.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002926/0.8004, allocations: 320.5 kB / 0.6773 GB, free: 141.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.899e-05/0.8005, allocations: 2.812 kB / 0.6773 GB, free: 141.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.592e-05/0.8006, allocations: 337.8 kB / 0.6776 GB, free: 141.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006779/0.8013, allocations: 429 kB / 0.678 GB, free: 141.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007043/0.802, allocations: 0.5166 MB / 0.6785 GB, free: 141.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000704/0.8027, allocations: 468.6 kB / 0.679 GB, free: 141.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.8027, allocations: 0 / 0.679 GB, free: 141.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.01214/0.8149, allocations: 4.366 MB / 0.6833 GB, free: 141 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.8149, allocations: 5.656 kB / 0.6833 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.815, allocations: 3.719 kB / 0.6833 GB, free: 141 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005345/0.8203, allocations: 1.749 MB / 0.685 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009079/0.8212, allocations: 172 kB / 0.6851 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01287/0.8341, allocations: 6.119 MB / 0.6911 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/0.8357, allocations: 206.6 kB / 0.6913 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.8358, allocations: 32.84 kB / 0.6913 GB, free: 139.4 MB / 490.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.0002894/0.8361, allocations: 122.2 kB / 0.6915 GB, free: 139.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/0.8363, allocations: 118.6 kB / 0.6916 GB, free: 139.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01198/0.8483, allocations: 4.343 MB / 0.6958 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.87e-05/0.8484, allocations: 13.28 kB / 0.6958 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.8484, allocations: 8.016 kB / 0.6958 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-05/0.8484, allocations: 3.562 kB / 0.6958 GB, free: 138.9 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01465/0.8631, allocations: 5.706 MB / 0.7014 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/0.8631, allocations: 1.375 kB / 0.7014 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009209/0.8641, allocations: 145.5 kB / 0.7015 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005742/0.8698, allocations: 1.733 MB / 0.7032 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002565/0.8701, allocations: 8.328 kB / 0.7032 GB, free: 137.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01331/0.8834, allocations: 5.659 MB / 0.7088 GB, free: 136.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.867e-06/0.8835, allocations: 3.594 kB / 0.7088 GB, free: 136.5 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01398/0.8975, allocations: 5.132 MB / 0.7138 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005015/0.898, allocations: 205.9 kB / 0.714 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004201/0.8984, allocations: 0 / 0.714 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/0.8999, allocations: 163.5 kB / 0.7141 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004147/0.9003, allocations: 127.1 kB / 0.7143 GB, free: 135.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/0.9005, allocations: 26.22 kB / 0.7143 GB, free: 135.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0008077/0.9013, allocations: 0.5164 MB / 0.7148 GB, free: 135.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001456/0.9028, allocations: 391.1 kB / 0.7152 GB, free: 135.5 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.000338/0.9031, allocations: 122.5 kB / 0.7153 GB, free: 135.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005057/0.9082, allocations: 1.938 MB / 0.7172 GB, free: 134.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.9082, allocations: 0 / 0.7172 GB, free: 134.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004044/0.9122, allocations: 1.445 MB / 0.7186 GB, free: 134.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007967/0.9131, allocations: 59.66 kB / 0.7186 GB, free: 134.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00466/0.9177, allocations: 1.378 MB / 0.72 GB, free: 133.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009164/0.9187, allocations: 1.155 MB / 0.7211 GB, free: 132.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.192e-06/0.9187, allocations: 0 / 0.7211 GB, free: 132.8 MB / 490.7 MB Notification: Performance of Templates: time 0.03265/0.9513, allocations: 18.36 MB / 0.739 GB, free: 127.8 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)