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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001496/0.001497, allocations: 174.4 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009212/0.0009212, allocations: 89.97 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.421/0.421, allocations: 78.08 MB / 414.6 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.62e-05/4.624e-05, allocations: 11.98 kB / 491.8 MB, free: 14.05 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3117, allocations: 69.34 MB / 0.548 GB, free: 20.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1247/0.4365, allocations: 98.24 MB / 0.6439 GB, free: 2.305 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.4368, allocations: 75.95 kB / 0.644 GB, free: 2.23 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06876/0.5056, allocations: 25.41 MB / 0.6688 GB, free: 8.633 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5056, allocations: 0 / 0.6688 GB, free: 8.633 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.491e-05/0.5057, allocations: 20 kB / 0.6688 GB, free: 8.613 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.004771/0.5105, allocations: 1.762 MB / 0.6706 GB, free: 6.801 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.5105, allocations: 11.97 kB / 0.6706 GB, free: 6.789 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003508/0.514, allocations: 0.5603 MB / 0.6711 GB, free: 6.227 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/0.5157, allocations: 0.7248 MB / 0.6718 GB, free: 5.449 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004148/0.5161, allocations: 268.2 kB / 0.6721 GB, free: 5.148 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/0.5163, allocations: 72 kB / 0.6721 GB, free: 5.078 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.518, allocations: 0.8665 MB / 0.673 GB, free: 4.203 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.518, allocations: 0 / 0.673 GB, free: 4.203 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.33e-05/0.5181, allocations: 32 kB / 0.673 GB, free: 4.172 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.5182, allocations: 20 kB / 0.673 GB, free: 4.152 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/0.5196, allocations: 0.8553 MB / 0.6739 GB, free: 3.301 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2838/0.8035, allocations: 3.535 MB / 0.6773 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/0.8055, allocations: 1.204 MB / 0.6785 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009605/0.8065, allocations: 0.5805 MB / 0.6791 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001178/0.8066, allocations: 22.62 kB / 0.6791 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.8066, allocations: 41.41 kB / 0.6791 GB, free: 104.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 2.785e-06/0.8067, allocations: 0.8125 kB / 0.6791 GB, free: 104.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.0141/0.8208, allocations: 4.058 MB / 0.6831 GB, free: 104.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.8209, allocations: 62.7 kB / 0.6832 GB, free: 104.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.8222, allocations: 0.73 MB / 0.6839 GB, free: 103.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001964/0.8224, allocations: 40.64 kB / 0.6839 GB, free: 103.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002764/0.8227, allocations: 0.4978 MB / 0.6844 GB, free: 103.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002744/0.823, allocations: 333.7 kB / 0.6847 GB, free: 103.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.357e-05/0.8231, allocations: 16.5 kB / 0.6847 GB, free: 103.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.33e-05/0.8231, allocations: 342.1 kB / 0.6851 GB, free: 103.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007847/0.8239, allocations: 438.2 kB / 0.6855 GB, free: 103.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007475/0.8247, allocations: 0.5359 MB / 0.686 GB, free: 103.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006914/0.8254, allocations: 475.2 kB / 0.6865 GB, free: 103.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.8254, allocations: 0 / 0.6865 GB, free: 103.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.01185/0.8372, allocations: 4.19 MB / 0.6905 GB, free: 102.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.8373, allocations: 6.344 kB / 0.6905 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.8373, allocations: 3.781 kB / 0.6906 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005333/0.8427, allocations: 1.793 MB / 0.6923 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007863/0.8435, allocations: 159.5 kB / 0.6925 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01288/0.8564, allocations: 7.098 MB / 0.6994 GB, free: 99.15 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.8578, allocations: 212 kB / 0.6996 GB, free: 99.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-05/0.8579, allocations: 29.56 kB / 0.6996 GB, free: 99.1 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.0002216/0.8581, allocations: 155.6 kB / 0.6998 GB, free: 98.96 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.8583, allocations: 124.3 kB / 0.6999 GB, free: 98.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01213/0.8704, allocations: 4.205 MB / 0.704 GB, free: 97.99 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.291e-05/0.8705, allocations: 9.969 kB / 0.704 GB, free: 97.99 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.8705, allocations: 0 / 0.704 GB, free: 97.99 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.269e-05/0.8705, allocations: 10.61 kB / 0.704 GB, free: 97.99 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01399/0.8845, allocations: 5.793 MB / 0.7097 GB, free: 93.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.8846, allocations: 3.25 kB / 0.7097 GB, free: 93.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007597/0.8854, allocations: 145.5 kB / 0.7098 GB, free: 93.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004917/0.8903, allocations: 1.684 MB / 0.7115 GB, free: 92.44 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/0.8904, allocations: 19.89 kB / 0.7115 GB, free: 92.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01143/0.9018, allocations: 6.332 MB / 0.7177 GB, free: 86.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.9019, allocations: 0 / 0.7177 GB, free: 86.61 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01278/0.9147, allocations: 4.953 MB / 0.7225 GB, free: 82.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003711/0.9151, allocations: 215.1 kB / 0.7227 GB, free: 82.29 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/0.9153, allocations: 16 kB / 0.7227 GB, free: 82.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/0.9165, allocations: 157.6 kB / 0.7229 GB, free: 82.15 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000652/0.9171, allocations: 216.3 kB / 0.7231 GB, free: 82.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.224e-05/0.9172, allocations: 20 kB / 0.7231 GB, free: 82.02 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006635/0.9179, allocations: 0.5721 MB / 0.7236 GB, free: 81.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.9179, allocations: 0 / 0.7236 GB, free: 81.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001064/0.919, allocations: 418.1 kB / 0.724 GB, free: 81.08 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.0002457/0.9192, allocations: 156.4 kB / 0.7242 GB, free: 80.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004785/0.924, allocations: 1.999 MB / 0.7261 GB, free: 79.11 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.924, allocations: 0 / 0.7261 GB, free: 79.11 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003918/0.928, allocations: 1.494 MB / 0.7276 GB, free: 77.78 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005742/0.9286, allocations: 72.42 kB / 0.7277 GB, free: 77.71 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002616/0.9312, allocations: 1.394 MB / 0.729 GB, free: 76.41 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.9316, allocations: 1.104 MB / 0.7301 GB, free: 75.28 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003349/0.9319, allocations: 72.64 kB / 0.7302 GB, free: 75.21 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.9321, allocations: 43.44 kB / 0.7302 GB, free: 75.17 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/0.9321, allocations: 0 / 0.7302 GB, free: 75.17 MB / 490.7 MB Notification: Performance of Templates: time 0.02601/0.9582, allocations: 19.31 MB / 0.7491 GB, free: 56.18 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)