Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 180.9 kB / 7.65 MB, free: 1.422 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.399/1.399, allocations: 221.5 MB / 229.6 MB, free: 7.59 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.0009557/0.0009557, allocations: 96.98 kB / 280.5 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5263/0.5263, allocations: 78.95 MB / 410.2 MB, free: 6 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.969e-05/1.979e-05, allocations: 0 / 486 MB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1645, allocations: 69.52 MB / 0.5425 GB, free: 5.824 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4728/0.6373, allocations: 98.38 MB / 0.6386 GB, free: 15.61 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.6376, allocations: 81.5 kB / 0.6387 GB, free: 15.53 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06968/0.7073, allocations: 25.69 MB / 0.6638 GB, free: 5.898 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.7074, allocations: 4 kB / 0.6638 GB, free: 5.895 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.014e-05/0.7075, allocations: 20 kB / 0.6638 GB, free: 5.875 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.00556/0.713, allocations: 1.778 MB / 0.6655 GB, free: 4.051 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/0.7131, allocations: 12.03 kB / 0.6655 GB, free: 4.039 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003524/0.7167, allocations: 0.5633 MB / 0.6661 GB, free: 3.477 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001917/0.7186, allocations: 0.7208 MB / 0.6668 GB, free: 2.699 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000328/0.719, allocations: 248.1 kB / 0.667 GB, free: 2.422 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002817/0.7192, allocations: 40 kB / 0.6671 GB, free: 2.383 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00186/0.7211, allocations: 0.8163 MB / 0.6679 GB, free: 1.566 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.7229, allocations: 0.7571 MB / 0.6686 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/0.7229, allocations: 0 / 0.6686 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.771e-05/0.723, allocations: 0 / 0.6686 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.723, allocations: 24 kB / 0.6686 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007236/0.7303, allocations: 3.433 MB / 0.672 GB, free: 13.21 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.7317, allocations: 1.195 MB / 0.6731 GB, free: 11.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008344/0.7326, allocations: 0.5583 MB / 0.6737 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001207/0.7327, allocations: 16.77 kB / 0.6737 GB, free: 11.32 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.7328, allocations: 43.34 kB / 0.6737 GB, free: 11.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=97): time 3.847e-06/0.7328, allocations: 1.312 kB / 0.6737 GB, free: 11.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=97): time 0.01263/0.7454, allocations: 4.005 MB / 0.6777 GB, free: 7.25 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.811e-05/0.7455, allocations: 68.19 kB / 0.6777 GB, free: 7.168 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/0.7472, allocations: 0.6873 MB / 0.6784 GB, free: 6.465 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003661/0.7476, allocations: 25.7 kB / 0.6784 GB, free: 6.434 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005082/0.7481, allocations: 0.497 MB / 0.6789 GB, free: 5.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007125/0.7489, allocations: 331 kB / 0.6792 GB, free: 5.602 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.281e-05/0.749, allocations: 0 / 0.6792 GB, free: 5.602 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.7492, allocations: 337.9 kB / 0.6795 GB, free: 5.266 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009515/0.7501, allocations: 426.6 kB / 0.6799 GB, free: 4.848 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009902/0.7511, allocations: 0.516 MB / 0.6805 GB, free: 4.301 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009658/0.7521, allocations: 467.5 kB / 0.6809 GB, free: 3.848 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.7521, allocations: 7.953 kB / 0.6809 GB, free: 3.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01264/0.7648, allocations: 4.087 MB / 0.6849 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/0.7649, allocations: 4 kB / 0.6849 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.7649, allocations: 4 kB / 0.6849 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005702/0.7706, allocations: 1.679 MB / 0.6865 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009664/0.7716, allocations: 175.8 kB / 0.6867 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01455/0.7862, allocations: 7.065 MB / 0.6936 GB, free: 6.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/0.7879, allocations: 185.8 kB / 0.6938 GB, free: 6.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002203/0.7881, allocations: 35.98 kB / 0.6938 GB, free: 6.465 MB / 0.4948 GB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" ) "q-axis transient voltage" 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 (75): * Single equations (assignments): 74 * 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.0004291/0.7885, allocations: 120.1 kB / 0.6939 GB, free: 6.344 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01246/0.801, allocations: 4.007 MB / 0.6979 GB, free: 2.324 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005238/0.8016, allocations: 122.5 kB / 0.698 GB, free: 2.203 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01228/0.8139, allocations: 4.128 MB / 0.702 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/0.8139, allocations: 8 kB / 0.702 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.814, allocations: 3.953 kB / 0.702 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.052e-05/0.814, allocations: 15.97 kB / 0.702 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0145/0.8285, allocations: 5.652 MB / 0.7075 GB, free: 8.258 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/0.8286, allocations: 0.5625 kB / 0.7075 GB, free: 8.258 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008672/0.8294, allocations: 147.8 kB / 0.7077 GB, free: 8.113 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005187/0.8346, allocations: 1.664 MB / 0.7093 GB, free: 6.445 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002251/0.8349, allocations: 0 / 0.7093 GB, free: 6.445 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01266/0.8476, allocations: 6.202 MB / 0.7154 GB, free: 128 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/0.8476, allocations: 0 / 0.7154 GB, free: 128 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01348/0.8611, allocations: 4.92 MB / 0.7202 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004694/0.8616, allocations: 211.4 kB / 0.7204 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002844/0.8619, allocations: 0 / 0.7204 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/0.8632, allocations: 139.9 kB / 0.7205 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006755/0.8639, allocations: 212.9 kB / 0.7207 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.239e-05/0.864, allocations: 27.98 kB / 0.7207 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007889/0.8648, allocations: 0.5225 MB / 0.7212 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.134e-06/0.8648, allocations: 1.5 kB / 0.7212 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001425/0.8662, allocations: 395.3 kB / 0.7216 GB, free: 9.668 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 63 * 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.01375/0.88, allocations: 5.48 MB / 0.727 GB, free: 4.152 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005418/0.8855, allocations: 1.944 MB / 0.7289 GB, free: 2.199 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.8855, allocations: 0 / 0.7289 GB, free: 2.199 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004316/0.8898, allocations: 1.458 MB / 0.7303 GB, free: 0.7344 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008859/0.8908, allocations: 56.41 kB / 0.7304 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004074/0.8949, allocations: 1.568 MB / 0.7319 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006892/0.8956, allocations: 1.125 MB / 0.733 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003725/0.896, allocations: 61.5 kB / 0.733 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005645/0.8965, allocations: 423.3 kB / 0.7334 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of SimCode: time 1.092e-06/0.8966, allocations: 7.938 kB / 0.7335 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06432/0.9609, allocations: 27.3 MB / 0.7601 GB, free: 2.406 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002425/0.9612, allocations: 145.1 kB / 0.7603 GB, free: 2.211 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.938/3.899, allocations: 3.094 kB / 0.7603 GB, free: 2.211 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)