Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.00173/0.00173, allocations: 183.2 kB / 7.461 MB, free: 2.5 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.076/1.076, allocations: 221.4 MB / 229.3 MB, free: 3.078 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.0008331/0.000833, allocations: 105.7 kB / 280.1 MB, free: 1.316 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3586/0.3586, allocations: 78.1 MB / 409 MB, free: 15.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.099e-06/5.12e-06, allocations: 0 / 484.4 MB, free: 4.566 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2204, allocations: 69.34 MB / 0.5407 GB, free: 21.62 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09873/0.3191, allocations: 97.51 MB / 0.636 GB, free: 7.52 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001851/0.3194, allocations: 75.95 kB / 0.636 GB, free: 7.445 MB / 458.7 MB Notification: Performance of FrontEnd: time 0.06096/0.3803, allocations: 24.85 MB / 0.6603 GB, free: 14.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.784e-05/0.3804, allocations: 20 kB / 0.6603 GB, free: 14.38 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.004332/0.3847, allocations: 1.832 MB / 0.6621 GB, free: 12.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.3848, allocations: 12.03 kB / 0.6621 GB, free: 12.49 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003143/0.3879, allocations: 0.5759 MB / 0.6627 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.3892, allocations: 0.7247 MB / 0.6634 GB, free: 11.13 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002445/0.3895, allocations: 248.1 kB / 0.6636 GB, free: 10.85 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.3896, allocations: 40 kB / 0.6637 GB, free: 10.81 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00143/0.391, allocations: 0.8163 MB / 0.6645 GB, free: 9.996 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.3924, allocations: 0.7609 MB / 0.6652 GB, free: 9.227 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.3924, allocations: 0 / 0.6652 GB, free: 9.227 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.973e-05/0.3925, allocations: 0 / 0.6652 GB, free: 9.227 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.888e-05/0.3925, allocations: 20 kB / 0.6652 GB, free: 9.207 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005679/0.3982, allocations: 3.448 MB / 0.6686 GB, free: 5.621 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009133/0.3991, allocations: 0.6688 MB / 0.6693 GB, free: 4.941 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007555/0.3999, allocations: 0.5422 MB / 0.6698 GB, free: 4.395 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.4, allocations: 20.75 kB / 0.6698 GB, free: 4.375 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.4, allocations: 39.34 kB / 0.6698 GB, free: 4.328 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 2.285e-06/0.4, allocations: 0 / 0.6698 GB, free: 4.328 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.01218/0.4122, allocations: 4.256 MB / 0.674 GB, free: 60 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1222/0.5345, allocations: 64.03 kB / 0.6741 GB, free: 143.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006843/0.5352, allocations: 0.6693 MB / 0.6747 GB, free: 143.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001308/0.5353, allocations: 25.7 kB / 0.6747 GB, free: 143.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.5354, allocations: 322.1 kB / 0.675 GB, free: 143 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002184/0.5357, allocations: 317.6 kB / 0.6753 GB, free: 142.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.224e-05/0.5357, allocations: 0 / 0.6753 GB, free: 142.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.668e-05/0.5358, allocations: 338.1 kB / 0.6757 GB, free: 142.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006078/0.5364, allocations: 426.6 kB / 0.6761 GB, free: 142.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006276/0.537, allocations: 0.519 MB / 0.6766 GB, free: 142.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006238/0.5377, allocations: 458.8 kB / 0.677 GB, free: 142.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5377, allocations: 10.03 kB / 0.677 GB, free: 142.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.01109/0.5488, allocations: 4.367 MB / 0.6813 GB, free: 142.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.5488, allocations: 3.844 kB / 0.6813 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.5488, allocations: 3.469 kB / 0.6813 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004927/0.5537, allocations: 1.753 MB / 0.683 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006529/0.5544, allocations: 162.3 kB / 0.6832 GB, free: 142.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01163/0.566, allocations: 6.128 MB / 0.6892 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.5671, allocations: 208.9 kB / 0.6894 GB, free: 140.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.692e-05/0.5672, allocations: 31.47 kB / 0.6894 GB, free: 140.9 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.0002048/0.5674, allocations: 120.5 kB / 0.6895 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.5676, allocations: 116.9 kB / 0.6896 GB, free: 140.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01101/0.5786, allocations: 4.348 MB / 0.6939 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/0.5786, allocations: 7.188 kB / 0.6939 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.5786, allocations: 0 / 0.6939 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.5786, allocations: 10.05 kB / 0.6939 GB, free: 140.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01267/0.5913, allocations: 5.713 MB / 0.6994 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.5913, allocations: 4.578 kB / 0.6995 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000678/0.592, allocations: 146.8 kB / 0.6996 GB, free: 139.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004946/0.597, allocations: 1.725 MB / 0.7013 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-05/0.5971, allocations: 6.516 kB / 0.7013 GB, free: 139.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01098/0.608, allocations: 5.658 MB / 0.7068 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.6081, allocations: 0 / 0.7068 GB, free: 138 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01189/0.62, allocations: 5.127 MB / 0.7118 GB, free: 137.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001916/0.6202, allocations: 202.2 kB / 0.712 GB, free: 137.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/0.6203, allocations: 6.875 kB / 0.712 GB, free: 137.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/0.6214, allocations: 156.3 kB / 0.7122 GB, free: 137.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003105/0.6217, allocations: 131.3 kB / 0.7123 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-05/0.6218, allocations: 21.84 kB / 0.7123 GB, free: 137 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0005026/0.6223, allocations: 0.5206 MB / 0.7128 GB, free: 136.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008794/0.6232, allocations: 389.7 kB / 0.7132 GB, free: 136.8 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.0002142/0.6234, allocations: 125.3 kB / 0.7133 GB, free: 136.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00445/0.6279, allocations: 1.933 MB / 0.7152 GB, free: 136 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.6279, allocations: 0 / 0.7152 GB, free: 136 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003626/0.6315, allocations: 1.444 MB / 0.7166 GB, free: 135.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.6319, allocations: 63.89 kB / 0.7167 GB, free: 135.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002825/0.6347, allocations: 1.393 MB / 0.718 GB, free: 134.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005718/0.6353, allocations: 1.152 MB / 0.7192 GB, free: 134.1 MB / 490.7 MB Notification: Performance of SimCode: time 2.7e-07/0.6353, allocations: 1.781 kB / 0.7192 GB, free: 134.1 MB / 490.7 MB Notification: Performance of Templates: time 0.02198/0.6573, allocations: 18.35 MB / 0.7371 GB, free: 129.7 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)