Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001145/0.001146, allocations: 170.4 kB / 7.645 MB, free: 1.434 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.336/1.336, allocations: 221.5 MB / 229.6 MB, free: 7.574 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.0008719/0.0008718, allocations: 84.3 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4407/0.4407, allocations: 78.07 MB / 409.3 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.643e-05/1.645e-05, allocations: 4 kB / 484.9 MB, free: 12.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1364, allocations: 69.36 MB / 0.5413 GB, free: 6.816 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.381/0.5175, allocations: 97.58 MB / 0.6366 GB, free: 1.98 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/0.5177, allocations: 81.45 kB / 0.6366 GB, free: 1.902 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06751/0.5852, allocations: 25.08 MB / 0.6611 GB, free: 8.867 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.5853, allocations: 0 / 0.6611 GB, free: 8.867 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001007/0.5854, allocations: 20 kB / 0.6612 GB, free: 8.848 MB / 474.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.005155/0.5905, allocations: 1.762 MB / 0.6629 GB, free: 7.039 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.5906, allocations: 8.031 kB / 0.6629 GB, free: 7.031 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003495/0.5941, allocations: 0.5525 MB / 0.6634 GB, free: 6.477 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001767/0.5959, allocations: 0.7283 MB / 0.6641 GB, free: 5.691 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003201/0.5962, allocations: 238.8 kB / 0.6644 GB, free: 5.426 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002486/0.5965, allocations: 44 kB / 0.6644 GB, free: 5.383 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001754/0.5982, allocations: 0.8201 MB / 0.6652 GB, free: 4.562 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.5998, allocations: 0.7532 MB / 0.6659 GB, free: 3.801 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.5998, allocations: 4 kB / 0.666 GB, free: 3.797 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.002e-05/0.5999, allocations: 3.938 kB / 0.666 GB, free: 3.793 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.5999, allocations: 16 kB / 0.666 GB, free: 3.777 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006504/0.6064, allocations: 3.401 MB / 0.6693 GB, free: 240 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/0.6078, allocations: 1.192 MB / 0.6705 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000835/0.6087, allocations: 0.5505 MB / 0.671 GB, free: 14.37 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001213/0.6088, allocations: 12.78 kB / 0.671 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.6089, allocations: 43.34 kB / 0.671 GB, free: 14.31 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 5.7e-06/0.6089, allocations: 3.984 kB / 0.6711 GB, free: 14.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.01236/0.6212, allocations: 3.992 MB / 0.6749 GB, free: 10.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.6213, allocations: 64.19 kB / 0.675 GB, free: 10.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.6225, allocations: 0.6711 MB / 0.6757 GB, free: 9.539 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002157/0.6227, allocations: 25.7 kB / 0.6757 GB, free: 9.508 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000385/0.6231, allocations: 0.4969 MB / 0.6762 GB, free: 9.004 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004971/0.6236, allocations: 316.3 kB / 0.6765 GB, free: 8.691 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.908e-05/0.6237, allocations: 0 / 0.6765 GB, free: 8.691 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.6239, allocations: 337.9 kB / 0.6768 GB, free: 8.355 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007619/0.6246, allocations: 422.6 kB / 0.6772 GB, free: 7.941 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008141/0.6255, allocations: 0.5155 MB / 0.6777 GB, free: 7.395 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007727/0.6263, allocations: 453.2 kB / 0.6781 GB, free: 6.949 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.6263, allocations: 3.953 kB / 0.6781 GB, free: 6.945 MB / 490.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.01232/0.6386, allocations: 4.101 MB / 0.6821 GB, free: 2.832 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.471e-05/0.6387, allocations: 13.52 kB / 0.6822 GB, free: 2.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.6387, allocations: 0 / 0.6822 GB, free: 2.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005454/0.6441, allocations: 1.681 MB / 0.6838 GB, free: 1.137 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008393/0.645, allocations: 164.3 kB / 0.684 GB, free: 0.9766 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01426/0.6593, allocations: 6.888 MB / 0.6907 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/0.6607, allocations: 179.2 kB / 0.6909 GB, free: 9.789 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000177/0.6609, allocations: 39.92 kB / 0.6909 GB, free: 9.75 MB / 0.4948 GB 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.0003872/0.6613, allocations: 121.6 kB / 0.691 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002923/0.6616, allocations: 118.5 kB / 0.6911 GB, free: 9.508 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01209/0.6737, allocations: 4.115 MB / 0.6951 GB, free: 5.375 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.6738, allocations: 8 kB / 0.6951 GB, free: 5.367 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.6738, allocations: 3.953 kB / 0.6952 GB, free: 5.363 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.489e-05/0.6738, allocations: 3.984 kB / 0.6952 GB, free: 5.359 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01491/0.6887, allocations: 5.638 MB / 0.7007 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.6888, allocations: 0 / 0.7007 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008402/0.6896, allocations: 140.4 kB / 0.7008 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005165/0.6948, allocations: 1.664 MB / 0.7024 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001751/0.695, allocations: 7.984 kB / 0.7024 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0128/0.7078, allocations: 6.201 MB / 0.7085 GB, free: 7.461 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.7079, allocations: 0 / 0.7085 GB, free: 7.461 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01358/0.7214, allocations: 4.864 MB / 0.7132 GB, free: 2.578 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004197/0.7219, allocations: 204.2 kB / 0.7134 GB, free: 2.359 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002704/0.7222, allocations: 0 / 0.7134 GB, free: 2.359 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/0.7234, allocations: 143.9 kB / 0.7136 GB, free: 2.219 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007082/0.7241, allocations: 220.2 kB / 0.7138 GB, free: 2.004 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.7242, allocations: 23.98 kB / 0.7138 GB, free: 1.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008287/0.7251, allocations: 0.5143 MB / 0.7143 GB, free: 1.457 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.923e-06/0.7251, allocations: 0 / 0.7143 GB, free: 1.457 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001683/0.7268, allocations: 383.4 kB / 0.7147 GB, free: 1.082 MB / 0.5105 GB 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.0002856/0.7271, allocations: 145.8 kB / 0.7148 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005373/0.7324, allocations: 1.936 MB / 0.7167 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7325, allocations: 0 / 0.7167 GB, free: 14.99 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004286/0.7368, allocations: 1.438 MB / 0.7181 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007419/0.7375, allocations: 52.31 kB / 0.7182 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003243/0.7408, allocations: 1.347 MB / 0.7195 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007863/0.7416, allocations: 1.115 MB / 0.7206 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000399/0.742, allocations: 65.45 kB / 0.7206 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002379/0.7422, allocations: 55.42 kB / 0.7207 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of SimCode: time 1.012e-06/0.7422, allocations: 0 / 0.7207 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of Templates: time 0.03062/0.7729, allocations: 17.9 MB / 0.7382 GB, free: 9.141 MB / 0.5417 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)