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: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2_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.001534/0.001534, allocations: 174.7 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.602/1.602, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0008662/0.0008662, allocations: 87.31 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4754/0.4754, allocations: 78.08 MB / 414.6 MB, free: 11.03 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.669e-05/3.684e-05, allocations: 8 kB / 491.9 MB, free: 13.98 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4165/0.4166, allocations: 69.34 MB / 0.5481 GB, free: 20.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1261/0.5427, allocations: 98.24 MB / 0.644 GB, free: 2.301 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.543, allocations: 79.95 kB / 0.6441 GB, free: 2.223 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06644/0.6094, allocations: 25.41 MB / 0.6689 GB, free: 8.629 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.6095, allocations: 0 / 0.6689 GB, free: 8.629 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.741e-05/0.6095, allocations: 20 kB / 0.6689 GB, free: 8.609 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.00468/0.6142, allocations: 1.766 MB / 0.6707 GB, free: 6.793 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.6143, allocations: 15.97 kB / 0.6707 GB, free: 6.777 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002644/0.6146, allocations: 130.8 kB / 0.6708 GB, free: 6.641 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003424/0.618, allocations: 0.5603 MB / 0.6713 GB, free: 6.078 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/0.6198, allocations: 0.7209 MB / 0.6721 GB, free: 5.305 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003201/0.6201, allocations: 268.2 kB / 0.6723 GB, free: 5.004 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002206/0.6203, allocations: 76 kB / 0.6724 GB, free: 4.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/0.6221, allocations: 0.8587 MB / 0.6732 GB, free: 4.062 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.6222, allocations: 4 kB / 0.6732 GB, free: 4.059 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.633e-05/0.6223, allocations: 32 kB / 0.6733 GB, free: 4.027 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.6223, allocations: 20 kB / 0.6733 GB, free: 4.008 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001688/0.624, allocations: 0.8553 MB / 0.6741 GB, free: 3.156 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3283/0.9523, allocations: 3.538 MB / 0.6776 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001446/0.9538, allocations: 1.205 MB / 0.6787 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000886/0.9547, allocations: 0.5816 MB / 0.6793 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001256/0.9548, allocations: 15.06 kB / 0.6793 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.195e-05/0.9548, allocations: 45.72 kB / 0.6794 GB, free: 104.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 2.595e-06/0.9548, allocations: 0 / 0.6794 GB, free: 104.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=96): time 0.01409/0.9689, allocations: 4.054 MB / 0.6833 GB, free: 104.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.969, allocations: 68.52 kB / 0.6834 GB, free: 104 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/0.9706, allocations: 0.7317 MB / 0.6841 GB, free: 103.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002093/0.9708, allocations: 40.17 kB / 0.6841 GB, free: 103.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003097/0.9711, allocations: 0.5002 MB / 0.6846 GB, free: 103.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003039/0.9715, allocations: 324.2 kB / 0.6849 GB, free: 103.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.318e-05/0.9715, allocations: 20.27 kB / 0.685 GB, free: 103.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.941e-05/0.9716, allocations: 342.3 kB / 0.6853 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008137/0.9724, allocations: 437.9 kB / 0.6857 GB, free: 103.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007446/0.9732, allocations: 0.5329 MB / 0.6862 GB, free: 103.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006826/0.9739, allocations: 472.1 kB / 0.6867 GB, free: 103.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.9739, allocations: 3.844 kB / 0.6867 GB, free: 103.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.01176/0.9856, allocations: 4.192 MB / 0.6908 GB, free: 102.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.472e-05/0.9857, allocations: 5.656 kB / 0.6908 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.9857, allocations: 0 / 0.6908 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005399/0.9911, allocations: 1.794 MB / 0.6925 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008124/0.992, allocations: 161.8 kB / 0.6927 GB, free: 102.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01299/1.005, allocations: 7.104 MB / 0.6996 GB, free: 99.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/1.006, allocations: 201.5 kB / 0.6998 GB, free: 99.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.994e-05/1.007, allocations: 36.61 kB / 0.6998 GB, free: 99.05 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.0002452/1.007, allocations: 156.4 kB / 0.7 GB, free: 98.92 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/1.007, allocations: 123.4 kB / 0.7001 GB, free: 98.85 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01146/1.018, allocations: 4.208 MB / 0.7042 GB, free: 97.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/1.018, allocations: 9.156 kB / 0.7042 GB, free: 97.95 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/1.018, allocations: 0 / 0.7042 GB, free: 97.95 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.179e-05/1.019, allocations: 3.844 kB / 0.7042 GB, free: 97.95 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01352/1.032, allocations: 5.803 MB / 0.7099 GB, free: 93.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.749e-05/1.032, allocations: 4 kB / 0.7099 GB, free: 93.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008298/1.033, allocations: 139.4 kB / 0.71 GB, free: 93.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004904/1.038, allocations: 1.685 MB / 0.7117 GB, free: 92.37 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001762/1.038, allocations: 16 kB / 0.7117 GB, free: 92.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01127/1.049, allocations: 6.334 MB / 0.7179 GB, free: 86.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/1.049, allocations: 0 / 0.7179 GB, free: 86.54 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01219/1.062, allocations: 4.957 MB / 0.7227 GB, free: 82.42 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003899/1.062, allocations: 199.9 kB / 0.7229 GB, free: 82.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/1.062, allocations: 16 kB / 0.7229 GB, free: 82.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/1.063, allocations: 157.2 kB / 0.7231 GB, free: 82.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006337/1.064, allocations: 220 kB / 0.7233 GB, free: 81.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.147e-05/1.064, allocations: 24 kB / 0.7233 GB, free: 81.95 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006058/1.065, allocations: 0.5816 MB / 0.7239 GB, free: 81.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.61e-07/1.065, allocations: 0 / 0.7239 GB, free: 81.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009845/1.066, allocations: 420.2 kB / 0.7243 GB, free: 81 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.01279/1.078, allocations: 5.543 MB / 0.7297 GB, free: 75.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005227/1.084, allocations: 2.007 MB / 0.7317 GB, free: 73.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/1.084, allocations: 0 / 0.7317 GB, free: 73.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004201/1.088, allocations: 1.484 MB / 0.7331 GB, free: 72.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008066/1.089, allocations: 82.02 kB / 0.7332 GB, free: 72.22 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003382/1.092, allocations: 1.553 MB / 0.7347 GB, free: 70.64 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004213/1.093, allocations: 1.111 MB / 0.7358 GB, free: 69.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003164/1.093, allocations: 67.84 kB / 0.7359 GB, free: 69.44 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004356/1.093, allocations: 435.3 kB / 0.7363 GB, free: 69.01 MB / 490.7 MB Notification: Performance of SimCode: time 1.283e-06/1.093, allocations: 0 / 0.7363 GB, free: 69.01 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04488/1.138, allocations: 28.72 MB / 0.7643 GB, free: 40.79 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002126/1.139, allocations: 186.1 kB / 0.7645 GB, free: 40.56 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.824/3.963, allocations: 3.938 kB / 0.7645 GB, free: 40.56 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_release_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_release_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)