Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.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.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2_TG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG") [: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.002411/0.002411, allocations: 175.7 kB / 7.46 MB, free: 2.324 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.196/1.196, allocations: 221.4 MB / 229.3 MB, free: 3.223 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.0009696/0.0009698, allocations: 95.27 kB / 280.1 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4613/0.4613, allocations: 78.93 MB / 409.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.032e-06/6.092e-06, allocations: 0 / 485.4 MB, free: 3.633 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3657, allocations: 69.51 MB / 0.5419 GB, free: 20.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1342/0.4999, allocations: 99.16 MB / 0.6387 GB, free: 4.758 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.5002, allocations: 75.95 kB / 0.6388 GB, free: 4.684 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.06852/0.5687, allocations: 25.3 MB / 0.6635 GB, free: 11.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.506e-05/0.5688, allocations: 20 kB / 0.6635 GB, free: 11.19 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.005106/0.574, allocations: 1.77 MB / 0.6652 GB, free: 9.371 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.389e-05/0.574, allocations: 8.031 kB / 0.6652 GB, free: 9.363 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003676/0.5777, allocations: 0.5798 MB / 0.6658 GB, free: 8.781 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001776/0.5795, allocations: 0.7593 MB / 0.6665 GB, free: 7.965 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002768/0.5798, allocations: 240.2 kB / 0.6668 GB, free: 7.695 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.58, allocations: 48 kB / 0.6668 GB, free: 7.648 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0016/0.5816, allocations: 0.8241 MB / 0.6676 GB, free: 6.824 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.5831, allocations: 0.829 MB / 0.6684 GB, free: 5.984 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.457e-05/0.5832, allocations: 0 / 0.6684 GB, free: 5.984 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.289e-05/0.5833, allocations: 8 kB / 0.6684 GB, free: 5.977 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.478e-05/0.5833, allocations: 16 kB / 0.6685 GB, free: 5.961 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007066/0.5904, allocations: 3.424 MB / 0.6718 GB, free: 2.395 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.5915, allocations: 0.5801 MB / 0.6724 GB, free: 1.809 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000842/0.5923, allocations: 0.5421 MB / 0.6729 GB, free: 1.262 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001381/0.5925, allocations: 20.75 kB / 0.6729 GB, free: 1.242 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.5925, allocations: 47.28 kB / 0.673 GB, free: 1.188 MB / 490.7 MB Notification: Performance of pre-optimization done (n=89): time 3.998e-06/0.5925, allocations: 0 / 0.673 GB, free: 1.188 MB / 490.7 MB Notification: Performance of matching and sorting (n=89): time 0.2128/0.8053, allocations: 4.238 MB / 0.6771 GB, free: 142.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.8054, allocations: 86.08 kB / 0.6772 GB, free: 142.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.8065, allocations: 0.7055 MB / 0.6779 GB, free: 142.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001842/0.8067, allocations: 26.42 kB / 0.6779 GB, free: 142 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.8069, allocations: 314.5 kB / 0.6782 GB, free: 141.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003089/0.8072, allocations: 304.3 kB / 0.6785 GB, free: 141.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.406e-05/0.8073, allocations: 0.6562 kB / 0.6785 GB, free: 141.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.069e-05/0.8074, allocations: 338.4 kB / 0.6788 GB, free: 141.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006651/0.8081, allocations: 425 kB / 0.6792 GB, free: 141.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006818/0.8087, allocations: 0.518 MB / 0.6797 GB, free: 141.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007015/0.8095, allocations: 477.8 kB / 0.6802 GB, free: 141.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.8095, allocations: 0 / 0.6802 GB, free: 141.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.01287/0.8223, allocations: 4.322 MB / 0.6844 GB, free: 141 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001993/0.8226, allocations: 0.7864 MB / 0.6852 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.8226, allocations: 7.391 kB / 0.6852 GB, free: 140.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005584/0.8282, allocations: 1.755 MB / 0.6869 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008255/0.829, allocations: 151 kB / 0.687 GB, free: 140.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01335/0.8424, allocations: 6.356 MB / 0.6932 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/0.8441, allocations: 191.6 kB / 0.6934 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.8442, allocations: 30.75 kB / 0.6934 GB, free: 138.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.8442, allocations: 6.5 kB / 0.6935 GB, free: 138.6 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0127/0.8569, allocations: 4.176 MB / 0.6975 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.529e-05/0.857, allocations: 2.062 kB / 0.6975 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006061/0.8631, allocations: 1.758 MB / 0.6993 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008325/0.8639, allocations: 139 kB / 0.6994 GB, free: 138.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01412/0.8781, allocations: 6.369 MB / 0.7056 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/0.8796, allocations: 182.2 kB / 0.7058 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.8798, allocations: 28.25 kB / 0.7058 GB, free: 136.6 MB / 490.7 MB Warning: Assuming fixed start value for the following 3 variables: TGTypeII1.transferFunction1.x_scaled[1]:VARIABLE(protected = true ) "Scaled vector x" type: Real [1] order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * 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.0003413/0.8801, allocations: 129.3 kB / 0.7059 GB, free: 136.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002206/0.8803, allocations: 113.5 kB / 0.706 GB, free: 136.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01228/0.8926, allocations: 4.353 MB / 0.7103 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-05/0.8927, allocations: 9.312 kB / 0.7103 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.8927, allocations: 0 / 0.7103 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.011e-05/0.8928, allocations: 3.891 kB / 0.7103 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01421/0.907, allocations: 5.691 MB / 0.7159 GB, free: 135.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.907, allocations: 0 / 0.7159 GB, free: 135.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007469/0.9078, allocations: 119.8 kB / 0.716 GB, free: 135.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005156/0.9129, allocations: 1.727 MB / 0.7177 GB, free: 134.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000186/0.9131, allocations: 3.906 kB / 0.7177 GB, free: 134.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01247/0.9256, allocations: 5.667 MB / 0.7232 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/0.9257, allocations: 0.8906 kB / 0.7232 GB, free: 131.9 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01487/0.9405, allocations: 5.082 MB / 0.7282 GB, free: 130.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005258/0.9411, allocations: 200.6 kB / 0.7284 GB, free: 130.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002236/0.9414, allocations: 9.938 kB / 0.7284 GB, free: 130.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001286/0.9426, allocations: 144.8 kB / 0.7285 GB, free: 130.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003915/0.943, allocations: 119.9 kB / 0.7286 GB, free: 130.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.025e-05/0.9431, allocations: 27.86 kB / 0.7286 GB, free: 130.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007733/0.9439, allocations: 0.5416 MB / 0.7292 GB, free: 130 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002044/0.946, allocations: 0.5981 MB / 0.7298 GB, free: 130 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,TGTypeII1.transferFunction1.x_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 55 * 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.0003015/0.9463, allocations: 139.1 kB / 0.7299 GB, free: 129.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008952/0.9552, allocations: 3.43 MB / 0.7332 GB, free: 127.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.9553, allocations: 0 / 0.7332 GB, free: 127.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004186/0.9595, allocations: 1.429 MB / 0.7346 GB, free: 125.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.9607, allocations: 74.33 kB / 0.7347 GB, free: 125.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005027/0.9658, allocations: 1.618 MB / 0.7363 GB, free: 124.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006902/0.9665, allocations: 1.148 MB / 0.7374 GB, free: 123.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.683e-06/0.9665, allocations: 0 / 0.7374 GB, free: 123.4 MB / 490.7 MB Notification: Performance of Templates: time 0.04141/1.008, allocations: 28.85 MB / 0.7656 GB, free: 101.4 MB / 490.7 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_TG.pipe 2>&1)