Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.Order3test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_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.001005/0.001005, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.263/1.263, allocations: 222.9 MB / 239 MB, free: 4.727 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.001347/0.001347, allocations: 196.4 kB / 289.2 MB, free: 2.465 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.43/0.43, allocations: 78.54 MB / 417.9 MB, free: 3.305 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 76.06 kB / 497 MB, free: 6.629 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1265, allocations: 68.17 MB / 0.552 GB, free: 2.402 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.2246/0.3511, allocations: 6.77 MB / 0.5586 GB, free: 35.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004276/0.3554, allocations: 1.908 MB / 0.5604 GB, free: 35.36 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.3565, allocations: 11 kB / 0.5604 GB, free: 35.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006147/0.3571, allocations: 167.5 kB / 0.5606 GB, free: 35.35 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001818/0.359, allocations: 0.6317 MB / 0.5612 GB, free: 35.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001163/0.3602, allocations: 0.5612 MB / 0.5618 GB, free: 35.13 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001377/0.3616, allocations: 1.404 MB / 0.5631 GB, free: 35.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004319/0.362, allocations: 328.8 kB / 0.5635 GB, free: 35.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006451/0.3627, allocations: 0.59 MB / 0.564 GB, free: 34.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005633/0.3632, allocations: 0.7345 MB / 0.5647 GB, free: 34.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.3634, allocations: 103.8 kB / 0.5648 GB, free: 34.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004328/0.3638, allocations: 234.9 kB / 0.5651 GB, free: 34.69 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001801/0.364, allocations: 283.1 kB / 0.5653 GB, free: 34.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000398/0.3644, allocations: 0.6317 MB / 0.566 GB, free: 34.38 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.3656, allocations: 1.504 MB / 0.5674 GB, free: 34.01 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3656, allocations: 0.5312 kB / 0.5674 GB, free: 34.01 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3656, allocations: 6.812 kB / 0.5674 GB, free: 34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.458e-05/0.3657, allocations: 0.6875 kB / 0.5674 GB, free: 34 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.007358/0.373, allocations: 2.555 MB / 0.5699 GB, free: 33.1 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.3731, allocations: 8.812 kB / 0.5699 GB, free: 33.1 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001432/0.3732, allocations: 130.5 kB / 0.5701 GB, free: 33.06 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004692/0.3779, allocations: 0.7799 MB / 0.5708 GB, free: 32.97 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.3792, allocations: 0.7763 MB / 0.5716 GB, free: 32.55 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002379/0.3794, allocations: 256.8 kB / 0.5718 GB, free: 32.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.3796, allocations: 79.05 kB / 0.5719 GB, free: 32.36 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/0.3817, allocations: 1.076 MB / 0.573 GB, free: 32.3 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.3817, allocations: 3.766 kB / 0.573 GB, free: 32.3 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.86e-05/0.3818, allocations: 33 kB / 0.573 GB, free: 32.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.424e-05/0.3818, allocations: 19.44 kB / 0.573 GB, free: 32.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00216/0.384, allocations: 1.121 MB / 0.5741 GB, free: 32.29 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.005173/0.3892, allocations: 3.47 MB / 0.5775 GB, free: 31.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.3909, allocations: 1.416 MB / 0.5789 GB, free: 30.13 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/0.3923, allocations: 0.786 MB / 0.5796 GB, free: 29.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.3924, allocations: 14.19 kB / 0.5797 GB, free: 29.83 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.3924, allocations: 42.5 kB / 0.5797 GB, free: 29.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.976e-06/0.3924, allocations: 0 / 0.5797 GB, free: 29.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.0242/0.4167, allocations: 6.614 MB / 0.5862 GB, free: 28.53 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.4167, allocations: 62.44 kB / 0.5862 GB, free: 28.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.418, allocations: 0.8957 MB / 0.5871 GB, free: 28.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002629/0.4183, allocations: 45.98 kB / 0.5871 GB, free: 28.04 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002926/0.4186, allocations: 498.4 kB / 0.5876 GB, free: 27.65 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003411/0.4189, allocations: 350.3 kB / 0.5879 GB, free: 27.38 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003994/0.4193, allocations: 202.3 kB / 0.5881 GB, free: 27.28 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.916e-05/0.4194, allocations: 349.8 kB / 0.5885 GB, free: 26.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001587/0.421, allocations: 0.7271 MB / 0.5892 GB, free: 26.7 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001745/0.4228, allocations: 0.8516 MB / 0.59 GB, free: 26.33 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01899/0.4418, allocations: 4.835 MB / 0.5947 GB, free: 25 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.338e-05/0.4418, allocations: 1.375 kB / 0.5947 GB, free: 25 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01516/0.457, allocations: 4.268 MB / 0.5989 GB, free: 23.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.835e-05/0.4571, allocations: 11.66 kB / 0.5989 GB, free: 23.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.4571, allocations: 6.938 kB / 0.5989 GB, free: 23.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006491/0.4636, allocations: 1.813 MB / 0.6007 GB, free: 23.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/0.4648, allocations: 207.2 kB / 0.6009 GB, free: 23.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02204/0.4868, allocations: 9.338 MB / 0.61 GB, free: 18.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/0.4886, allocations: 173.4 kB / 0.6102 GB, free: 18.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002998/0.489, allocations: 39.73 kB / 0.6102 GB, free: 18.73 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_Inputs_Outputs1.delta:VARIABLE(flow=false start = order3_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 (111): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0008597/0.4898, allocations: 253.5 kB / 0.6104 GB, free: 18.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004759/0.4903, allocations: 119.8 kB / 0.6106 GB, free: 18.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01208/0.5024, allocations: 4.015 MB / 0.6145 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-05/0.5025, allocations: 8 kB / 0.6145 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.5025, allocations: 0 / 0.6145 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-05/0.5025, allocations: 4.688 kB / 0.6145 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01422/0.5167, allocations: 5.618 MB / 0.62 GB, free: 9.285 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.361e-05/0.5168, allocations: 0 / 0.62 GB, free: 9.285 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007404/0.5175, allocations: 128.7 kB / 0.6201 GB, free: 9.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005269/0.5228, allocations: 1.749 MB / 0.6218 GB, free: 7.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000171/0.523, allocations: 26.83 kB / 0.6218 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0169/0.5399, allocations: 8.073 MB / 0.6297 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.54, allocations: 0 / 0.6297 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01484/0.5548, allocations: 4.967 MB / 0.6346 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004155/0.5553, allocations: 207.4 kB / 0.6348 GB, free: 9.957 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003655/0.5557, allocations: 16 kB / 0.6348 GB, free: 9.941 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/0.5569, allocations: 115.8 kB / 0.6349 GB, free: 9.828 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007891/0.5577, allocations: 216.7 kB / 0.6351 GB, free: 9.613 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/0.5579, allocations: 21.06 kB / 0.6351 GB, free: 9.594 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000845/0.5587, allocations: 0.6047 MB / 0.6357 GB, free: 8.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5587, allocations: 4 kB / 0.6357 GB, free: 8.977 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001687/0.5604, allocations: 439.4 kB / 0.6361 GB, free: 8.543 MB / 446.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0148/0.5752, allocations: 5.551 MB / 0.6416 GB, free: 2.957 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007555/0.5828, allocations: 2.521 MB / 0.644 GB, free: 440 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.5829, allocations: 4 kB / 0.644 GB, free: 436 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005144/0.588, allocations: 1.595 MB / 0.6456 GB, free: 14.81 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.5894, allocations: 84.42 kB / 0.6457 GB, free: 14.73 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04055/0.63, allocations: 16.34 MB / 0.6616 GB, free: 14.02 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000839/0.6309, allocations: 1.106 MB / 0.6627 GB, free: 12.89 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005558/0.6315, allocations: 81.41 kB / 0.6628 GB, free: 12.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007026/0.6322, allocations: 447.3 kB / 0.6632 GB, free: 12.37 MB / 478.1 MB Notification: Performance of SimCode: time 7.92e-07/0.6322, allocations: 0 / 0.6632 GB, free: 12.37 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06324/0.6954, allocations: 32.07 MB / 0.6945 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002373/0.6957, allocations: 228.8 kB / 0.6947 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.455/3.151, allocations: 3.938 kB / 0.6947 GB, free: 12.44 MB / 0.4981 GB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)