Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08634/0.08634, allocations: 12.19 MB / 27.15 MB, free: 1.535 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008909/0.0008905, allocations: 104.1 kB / 30.66 MB, free: 4.883 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.298/1.298, allocations: 205.4 MB / 239.5 MB, free: 11.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 181.1 kB / 290.6 MB, free: 15.82 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4534/0.4534, allocations: 78.51 MB / 420.1 MB, free: 32.66 MB / 318.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008751/0.0008752, allocations: 38.66 kB / 0.4895 GB, free: 15.84 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3586, allocations: 69.22 MB / 0.5571 GB, free: 37.57 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.004478/0.3631, allocations: 5.615 MB / 0.5626 GB, free: 33.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003033/0.3662, allocations: 1.81 MB / 0.5643 GB, free: 32.16 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006084/0.3668, allocations: 11.19 kB / 0.5644 GB, free: 32.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003746/0.3672, allocations: 153 kB / 0.5645 GB, free: 32.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.3686, allocations: 0.6581 MB / 0.5651 GB, free: 31.63 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009869/0.3696, allocations: 0.5099 MB / 0.5656 GB, free: 31.36 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001149/0.3707, allocations: 0.9066 MB / 0.5665 GB, free: 30.86 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004056/0.3711, allocations: 265.1 kB / 0.5668 GB, free: 30.74 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005675/0.3717, allocations: 0.4977 MB / 0.5673 GB, free: 30.51 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006884/0.3724, allocations: 0.6141 MB / 0.5679 GB, free: 30.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.3725, allocations: 51.81 kB / 0.5679 GB, free: 30.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003846/0.3729, allocations: 162.6 kB / 0.5681 GB, free: 30.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001528/0.3731, allocations: 206.9 kB / 0.5683 GB, free: 30.08 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.3733, allocations: 229.5 kB / 0.5685 GB, free: 29.93 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008837/0.3742, allocations: 1.039 MB / 0.5695 GB, free: 29.6 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3742, allocations: 3.938 kB / 0.5695 GB, free: 29.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.3742, allocations: 0 / 0.5695 GB, free: 29.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.3742, allocations: 0 / 0.5695 GB, free: 29.59 MB / 414.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.007046/0.3813, allocations: 2.379 MB / 0.5718 GB, free: 28.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.3813, allocations: 17.7 kB / 0.5718 GB, free: 28.56 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002014/0.3815, allocations: 129.7 kB / 0.572 GB, free: 28.47 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004791/0.3863, allocations: 0.7806 MB / 0.5727 GB, free: 28.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001091/0.3874, allocations: 0.7269 MB / 0.5734 GB, free: 27.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002426/0.3877, allocations: 265.9 kB / 0.5737 GB, free: 27.58 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.3878, allocations: 78.91 kB / 0.5738 GB, free: 27.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002158/0.39, allocations: 1.15 MB / 0.5749 GB, free: 27.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.39, allocations: 3.984 kB / 0.5749 GB, free: 27.16 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.799e-05/0.3901, allocations: 29.81 kB / 0.5749 GB, free: 27.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.3901, allocations: 18.78 kB / 0.5749 GB, free: 27.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002359/0.3925, allocations: 1.233 MB / 0.5761 GB, free: 26.78 MB / 414.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.005795/0.3983, allocations: 3.607 MB / 0.5797 GB, free: 24.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002237/0.4006, allocations: 1.496 MB / 0.5811 GB, free: 23.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001063/0.4007, allocations: 20.2 kB / 0.5811 GB, free: 23.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.4007, allocations: 40.19 kB / 0.5812 GB, free: 23.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 3.427e-06/0.4007, allocations: 0 / 0.5812 GB, free: 23.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.02898/0.4297, allocations: 8.328 MB / 0.5893 GB, free: 21.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.4298, allocations: 61.44 kB / 0.5894 GB, free: 21.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001326/0.4311, allocations: 0.8706 MB / 0.5902 GB, free: 21.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002293/0.4314, allocations: 41.7 kB / 0.5903 GB, free: 21.16 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/0.4317, allocations: 495.5 kB / 0.5907 GB, free: 20.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003666/0.4321, allocations: 356.8 kB / 0.5911 GB, free: 20.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.861e-05/0.4321, allocations: 20.66 kB / 0.5911 GB, free: 20.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.377e-05/0.4322, allocations: 351.8 kB / 0.5914 GB, free: 20.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001694/0.4339, allocations: 0.7983 MB / 0.5922 GB, free: 19.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001801/0.4357, allocations: 0.9252 MB / 0.5931 GB, free: 19.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/0.4376, allocations: 0.8499 MB / 0.5939 GB, free: 18.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.4376, allocations: 1.094 kB / 0.5939 GB, free: 18.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01407/0.4517, allocations: 5.145 MB / 0.599 GB, free: 14.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.4517, allocations: 8 kB / 0.599 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.4517, allocations: 4 kB / 0.599 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006249/0.458, allocations: 2.188 MB / 0.6011 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.4591, allocations: 219.7 kB / 0.6013 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01955/0.4787, allocations: 9.791 MB / 0.6109 GB, free: 2.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001752/0.4805, allocations: 222.9 kB / 0.6111 GB, free: 1.852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.4806, allocations: 39.98 kB / 0.6111 GB, free: 1.812 MB / 414.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.0005036/0.4811, allocations: 244.7 kB / 0.6114 GB, free: 1.566 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/0.4813, allocations: 118.5 kB / 0.6115 GB, free: 1.449 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01396/0.4953, allocations: 4.951 MB / 0.6163 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.4953, allocations: 15.94 kB / 0.6163 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4954, allocations: 0 / 0.6163 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.682e-05/0.4954, allocations: 3.984 kB / 0.6163 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01699/0.5124, allocations: 6.551 MB / 0.6227 GB, free: 5.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/0.5124, allocations: 0 / 0.6227 GB, free: 5.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008028/0.5133, allocations: 147.8 kB / 0.6229 GB, free: 5.625 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006396/0.5197, allocations: 2.054 MB / 0.6249 GB, free: 3.566 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001738/0.5199, allocations: 16 kB / 0.6249 GB, free: 3.551 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01952/0.5394, allocations: 8.664 MB / 0.6334 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.5394, allocations: 3.984 kB / 0.6334 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01639/0.5558, allocations: 5.986 MB / 0.6392 GB, free: 4.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006014/0.5565, allocations: 203.4 kB / 0.6394 GB, free: 4.512 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/0.5567, allocations: 16 kB / 0.6394 GB, free: 4.496 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.5578, allocations: 159.9 kB / 0.6396 GB, free: 4.34 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006739/0.5585, allocations: 216.6 kB / 0.6398 GB, free: 4.129 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-05/0.5586, allocations: 24 kB / 0.6398 GB, free: 4.105 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007335/0.5593, allocations: 0.5848 MB / 0.6404 GB, free: 3.512 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5593, allocations: 0 / 0.6404 GB, free: 3.512 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00126/0.5606, allocations: 431.4 kB / 0.6408 GB, free: 3.09 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.01678/0.5774, allocations: 6.569 MB / 0.6472 GB, free: 12.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007443/0.5849, allocations: 2.747 MB / 0.6499 GB, free: 9.723 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.5849, allocations: 8.125 kB / 0.6499 GB, free: 9.715 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005285/0.5902, allocations: 1.794 MB / 0.6516 GB, free: 7.91 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007604/0.591, allocations: 74.33 kB / 0.6517 GB, free: 7.84 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005512/0.5965, allocations: 4.129 MB / 0.6557 GB, free: 3.617 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006797/0.5972, allocations: 1.112 MB / 0.6568 GB, free: 2.48 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003478/0.5976, allocations: 90.67 kB / 0.6569 GB, free: 2.387 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005517/0.5982, allocations: 443.3 kB / 0.6573 GB, free: 1.953 MB / 462.1 MB Notification: Performance of SimCode: time 1.452e-06/0.5982, allocations: 0 / 0.6573 GB, free: 1.953 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0505/0.6487, allocations: 28.87 MB / 0.6855 GB, free: 5.184 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001818/0.6489, allocations: 214.7 kB / 0.6857 GB, free: 4.941 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.516/3.165, allocations: 0 / 0.6857 GB, free: 4.941 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) Environment - environmentSimulation: