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/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.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 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_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,fileNamePrefix="OpenIPSL_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.0009952/0.0009957, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.353/1.353, allocations: 223.3 MB / 239 MB, free: 5.625 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.0009715/0.0009713, allocations: 183.4 kB / 290.3 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4743/0.4743, allocations: 78.56 MB / 419.9 MB, free: 4.352 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004088/0.0004088, allocations: 16 kB / 499.9 MB, free: 6.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1242, allocations: 69.36 MB / 0.5559 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.2402/0.3644, allocations: 5.861 MB / 0.5616 GB, free: 37.37 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003519/0.368, allocations: 1.787 MB / 0.5634 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006801/0.3687, allocations: 11.78 kB / 0.5634 GB, free: 37.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004408/0.3691, allocations: 157.5 kB / 0.5635 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.3707, allocations: 0.5916 MB / 0.5641 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.3718, allocations: 0.5093 MB / 0.5646 GB, free: 36.74 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001195/0.373, allocations: 1.263 MB / 0.5658 GB, free: 36.42 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003733/0.3734, allocations: 260.9 kB / 0.5661 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004529/0.3739, allocations: 0.4984 MB / 0.5666 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005283/0.3744, allocations: 0.6347 MB / 0.5672 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.529e-05/0.3745, allocations: 55.16 kB / 0.5672 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003431/0.3748, allocations: 175.3 kB / 0.5674 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.375, allocations: 209.1 kB / 0.5676 GB, free: 35.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.3752, allocations: 229.4 kB / 0.5678 GB, free: 35.9 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008632/0.376, allocations: 1.084 MB / 0.5689 GB, free: 35.7 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3761, allocations: 1.156 kB / 0.5689 GB, free: 35.7 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3761, allocations: 0.9062 kB / 0.5689 GB, free: 35.7 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.3761, allocations: 1.875 kB / 0.5689 GB, free: 35.7 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.006442/0.3825, allocations: 2.385 MB / 0.5712 GB, free: 34.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3826, allocations: 8.625 kB / 0.5712 GB, free: 34.85 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001792/0.3828, allocations: 129.6 kB / 0.5714 GB, free: 34.81 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004466/0.3872, allocations: 0.7985 MB / 0.5721 GB, free: 34.71 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.3883, allocations: 0.7195 MB / 0.5728 GB, free: 34.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002225/0.3885, allocations: 265.2 kB / 0.5731 GB, free: 34.15 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.3886, allocations: 83.53 kB / 0.5732 GB, free: 34.14 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002076/0.3907, allocations: 1.156 MB / 0.5743 GB, free: 34.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.3908, allocations: 0 / 0.5743 GB, free: 34.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.6e-05/0.3909, allocations: 28.72 kB / 0.5743 GB, free: 34.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.3909, allocations: 23.64 kB / 0.5743 GB, free: 34.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00238/0.3933, allocations: 1.238 MB / 0.5756 GB, free: 33.92 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.004889/0.3982, allocations: 3.503 MB / 0.579 GB, free: 31.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/0.4, allocations: 1.498 MB / 0.5804 GB, free: 31.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001411/0.4014, allocations: 0.8634 MB / 0.5813 GB, free: 30.72 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/0.4015, allocations: 16.3 kB / 0.5813 GB, free: 30.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.4016, allocations: 46.12 kB / 0.5813 GB, free: 30.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 3.036e-06/0.4016, allocations: 2.625 kB / 0.5813 GB, free: 30.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02393/0.4255, allocations: 8.323 MB / 0.5895 GB, free: 29.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.384e-05/0.4256, allocations: 63.75 kB / 0.5895 GB, free: 29.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.4268, allocations: 0.8762 MB / 0.5904 GB, free: 28.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002031/0.427, allocations: 44.98 kB / 0.5904 GB, free: 28.74 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003241/0.4273, allocations: 496.1 kB / 0.5909 GB, free: 28.35 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000318/0.4276, allocations: 337.3 kB / 0.5912 GB, free: 28.09 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.876e-05/0.4277, allocations: 24.03 kB / 0.5913 GB, free: 28.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.596e-05/0.4278, allocations: 350 kB / 0.5916 GB, free: 27.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/0.4295, allocations: 0.7997 MB / 0.5924 GB, free: 27.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001697/0.4312, allocations: 0.9238 MB / 0.5933 GB, free: 27.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001617/0.4328, allocations: 0.8564 MB / 0.5941 GB, free: 26.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.4328, allocations: 1.438 kB / 0.5941 GB, free: 26.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01382/0.4466, allocations: 5.147 MB / 0.5991 GB, free: 25.68 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.868e-05/0.4467, allocations: 5.219 kB / 0.5991 GB, free: 25.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.4467, allocations: 3.281 kB / 0.5991 GB, free: 25.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006511/0.4532, allocations: 2.185 MB / 0.6013 GB, free: 25.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.4544, allocations: 219.3 kB / 0.6015 GB, free: 25.31 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01977/0.4741, allocations: 9.337 MB / 0.6106 GB, free: 21.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.4755, allocations: 220.6 kB / 0.6108 GB, free: 21 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.892e-05/0.4757, allocations: 42.23 kB / 0.6109 GB, free: 20.96 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.0004202/0.4761, allocations: 240.2 kB / 0.6111 GB, free: 20.72 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.4762, allocations: 119.2 kB / 0.6112 GB, free: 20.6 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01198/0.4882, allocations: 4.943 MB / 0.616 GB, free: 16.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.061e-05/0.4883, allocations: 8 kB / 0.616 GB, free: 16.28 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4883, allocations: 0.875 kB / 0.616 GB, free: 16.28 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/0.4883, allocations: 7.984 kB / 0.616 GB, free: 16.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01285/0.5012, allocations: 6.556 MB / 0.6224 GB, free: 9.574 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.5012, allocations: 0 / 0.6224 GB, free: 9.574 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006033/0.5018, allocations: 147.8 kB / 0.6226 GB, free: 9.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005405/0.5072, allocations: 2.048 MB / 0.6246 GB, free: 7.379 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.5074, allocations: 17.12 kB / 0.6246 GB, free: 7.363 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01469/0.5221, allocations: 8.222 MB / 0.6326 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5221, allocations: 0 / 0.6326 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01482/0.5369, allocations: 5.99 MB / 0.6385 GB, free: 8.988 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003785/0.5373, allocations: 203.4 kB / 0.6387 GB, free: 8.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/0.5375, allocations: 16 kB / 0.6387 GB, free: 8.754 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009223/0.5385, allocations: 159.9 kB / 0.6388 GB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006496/0.5391, allocations: 210.3 kB / 0.639 GB, free: 8.395 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.363e-05/0.5392, allocations: 29.23 kB / 0.6391 GB, free: 8.367 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007134/0.5399, allocations: 0.5848 MB / 0.6396 GB, free: 7.773 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5399, allocations: 0 / 0.6396 GB, free: 7.773 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001232/0.5412, allocations: 431.5 kB / 0.6401 GB, free: 7.352 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.01489/0.5561, allocations: 6.577 MB / 0.6465 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006633/0.5627, allocations: 2.756 MB / 0.6492 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.5628, allocations: 0 / 0.6492 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004414/0.5672, allocations: 1.786 MB / 0.6509 GB, free: 12.18 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008364/0.5681, allocations: 89.06 kB / 0.651 GB, free: 12.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0234/0.5915, allocations: 11.4 MB / 0.6621 GB, free: 396 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006375/0.5922, allocations: 1.088 MB / 0.6632 GB, free: 15.27 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000439/0.5926, allocations: 85.38 kB / 0.6633 GB, free: 15.19 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005698/0.5932, allocations: 447 kB / 0.6637 GB, free: 14.75 MB / 478.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5932, allocations: 0 / 0.6637 GB, free: 14.75 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04808/0.6413, allocations: 29.38 MB / 0.6924 GB, free: 1.785 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001565/0.6415, allocations: 208.9 kB / 0.6926 GB, free: 1.547 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.494/3.136, allocations: 8.062 kB / 0.6926 GB, free: 1.539 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1) Environment - environmentSimulation: