Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 100.9 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 223.2 MB / 238.9 MB, free: 5.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 181.1 kB / 290.2 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4753/0.4753, allocations: 79.45 MB / 420.7 MB, free: 3.91 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003694/0.0003695, allocations: 12 kB / 0.4891 GB, free: 5.477 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3496, allocations: 69.51 MB / 0.557 GB, free: 37.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.004912/0.3546, allocations: 5.578 MB / 0.5624 GB, free: 37.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004131/0.3588, allocations: 1.844 MB / 0.5642 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007049/0.3595, allocations: 11.28 kB / 0.5642 GB, free: 36.99 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004144/0.3599, allocations: 157.2 kB / 0.5644 GB, free: 36.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001478/0.3614, allocations: 0.6448 MB / 0.565 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.3625, allocations: 0.5149 MB / 0.5655 GB, free: 36.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001161/0.3636, allocations: 0.9063 MB / 0.5664 GB, free: 36.6 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003955/0.364, allocations: 268.2 kB / 0.5666 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005371/0.3646, allocations: 0.4941 MB / 0.5671 GB, free: 36.41 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000541/0.3651, allocations: 0.6234 MB / 0.5677 GB, free: 36.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.25e-05/0.3652, allocations: 53.66 kB / 0.5678 GB, free: 36.24 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003976/0.3656, allocations: 160.4 kB / 0.5679 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001921/0.3658, allocations: 218.2 kB / 0.5681 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.366, allocations: 219.1 kB / 0.5684 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009673/0.367, allocations: 1.04 MB / 0.5694 GB, free: 35.92 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.367, allocations: 1.438 kB / 0.5694 GB, free: 35.92 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.367, allocations: 2.719 kB / 0.5694 GB, free: 35.92 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.367, allocations: 0 / 0.5694 GB, free: 35.92 MB / 430.1 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.007076/0.3741, allocations: 2.384 MB / 0.5717 GB, free: 35.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.3742, allocations: 9.688 kB / 0.5717 GB, free: 35.02 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002252/0.3744, allocations: 132.8 kB / 0.5718 GB, free: 34.92 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004897/0.3793, allocations: 0.7886 MB / 0.5726 GB, free: 34.78 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.3805, allocations: 0.7235 MB / 0.5733 GB, free: 34.27 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002451/0.3807, allocations: 267.6 kB / 0.5736 GB, free: 34.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.3809, allocations: 81.34 kB / 0.5736 GB, free: 34.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002134/0.383, allocations: 1.148 MB / 0.5748 GB, free: 33.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.3831, allocations: 3.938 kB / 0.5748 GB, free: 33.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.291e-05/0.3832, allocations: 34.41 kB / 0.5748 GB, free: 33.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.915e-05/0.3832, allocations: 25.48 kB / 0.5748 GB, free: 33.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00229/0.3855, allocations: 1.232 MB / 0.576 GB, free: 33.25 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005146/0.3906, allocations: 3.599 MB / 0.5795 GB, free: 31.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001933/0.3926, allocations: 1.507 MB / 0.581 GB, free: 30.22 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.3927, allocations: 21.39 kB / 0.581 GB, free: 30.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.3927, allocations: 38.09 kB / 0.5811 GB, free: 30.17 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 3.066e-06/0.3927, allocations: 0 / 0.5811 GB, free: 30.17 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02744/0.4202, allocations: 8.327 MB / 0.5892 GB, free: 28.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.4203, allocations: 61.56 kB / 0.5893 GB, free: 28.67 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.4214, allocations: 0.8743 MB / 0.5901 GB, free: 28.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001892/0.4216, allocations: 41.36 kB / 0.5902 GB, free: 28.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002663/0.4218, allocations: 498.5 kB / 0.5906 GB, free: 27.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002781/0.4221, allocations: 343.2 kB / 0.591 GB, free: 27.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.267e-05/0.4222, allocations: 20.97 kB / 0.591 GB, free: 27.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.073e-05/0.4223, allocations: 348.7 kB / 0.5913 GB, free: 27.25 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001707/0.424, allocations: 0.8002 MB / 0.5921 GB, free: 26.99 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/0.4258, allocations: 0.92 MB / 0.593 GB, free: 26.62 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/0.4276, allocations: 0.8524 MB / 0.5938 GB, free: 26.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.4276, allocations: 1.156 kB / 0.5938 GB, free: 26.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0154/0.443, allocations: 5.15 MB / 0.5989 GB, free: 25.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.956e-05/0.4431, allocations: 6.172 kB / 0.5989 GB, free: 25.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.4431, allocations: 2.312 kB / 0.5989 GB, free: 25.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007163/0.4502, allocations: 2.179 MB / 0.601 GB, free: 24.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.4514, allocations: 219.8 kB / 0.6012 GB, free: 24.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02237/0.4738, allocations: 9.783 MB / 0.6108 GB, free: 20.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/0.4756, allocations: 221 kB / 0.611 GB, free: 20.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.4757, allocations: 46.42 kB / 0.611 GB, free: 20.47 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 107 * 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.000466/0.4761, allocations: 239.5 kB / 0.6112 GB, free: 20.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/0.4763, allocations: 122.5 kB / 0.6114 GB, free: 20.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01352/0.4898, allocations: 4.947 MB / 0.6162 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.746e-05/0.4899, allocations: 8 kB / 0.6162 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.4899, allocations: 0 / 0.6162 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-05/0.4899, allocations: 7.984 kB / 0.6162 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01445/0.5044, allocations: 6.561 MB / 0.6226 GB, free: 9.184 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.5044, allocations: 0 / 0.6226 GB, free: 9.184 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007483/0.5052, allocations: 143.8 kB / 0.6227 GB, free: 9.043 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005727/0.5109, allocations: 2.05 MB / 0.6247 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001674/0.5111, allocations: 16.61 kB / 0.6248 GB, free: 6.977 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01739/0.5285, allocations: 8.661 MB / 0.6332 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5286, allocations: 0 / 0.6332 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01648/0.5451, allocations: 5.986 MB / 0.6391 GB, free: 8.16 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003911/0.5455, allocations: 203.4 kB / 0.6393 GB, free: 7.941 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/0.5457, allocations: 17.12 kB / 0.6393 GB, free: 7.926 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/0.5467, allocations: 163 kB / 0.6394 GB, free: 7.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006367/0.5474, allocations: 217.4 kB / 0.6396 GB, free: 7.559 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.487e-05/0.5475, allocations: 27.98 kB / 0.6397 GB, free: 7.531 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007075/0.5482, allocations: 0.5848 MB / 0.6402 GB, free: 6.938 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5482, allocations: 0 / 0.6402 GB, free: 6.938 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001286/0.5495, allocations: 427.5 kB / 0.6406 GB, free: 6.52 MB / 446.1 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 () * Number of clocked 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.01698/0.5665, allocations: 6.576 MB / 0.6471 GB, free: 15.91 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007348/0.5739, allocations: 2.759 MB / 0.6498 GB, free: 13.14 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.5739, allocations: 0 / 0.6498 GB, free: 13.14 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005003/0.5789, allocations: 1.78 MB / 0.6515 GB, free: 11.35 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008039/0.5797, allocations: 72.41 kB / 0.6516 GB, free: 11.28 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004728/0.5845, allocations: 4.145 MB / 0.6556 GB, free: 7.062 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006183/0.5851, allocations: 1.108 MB / 0.6567 GB, free: 5.926 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003489/0.5855, allocations: 90.03 kB / 0.6568 GB, free: 5.836 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005314/0.586, allocations: 443.3 kB / 0.6572 GB, free: 5.402 MB / 462.1 MB Notification: Performance of SimCode: time 1.022e-06/0.586, allocations: 0 / 0.6572 GB, free: 5.402 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04619/0.6322, allocations: 28.89 MB / 0.6854 GB, free: 8.934 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001597/0.6324, allocations: 207.8 kB / 0.6856 GB, free: 8.699 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.508/3.141, allocations: 0 / 0.6856 GB, free: 8.699 MB / 494.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) Environment - environmentSimulation: