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-master/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-master/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-master/package.mo): time 0.09176/0.09176, allocations: 12.6 MB / 28.1 MB, free: 184 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001183, allocations: 107.5 kB / 31.7 MB, free: 3.492 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.349/1.349, allocations: 205.1 MB / 240.3 MB, free: 12.44 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.001594/0.001594, allocations: 184.5 kB / 290.6 MB, free: 13.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4402/0.4402, allocations: 78.51 MB / 419.2 MB, free: 11.34 MB / 302.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.002946/0.002946, allocations: 145 kB / 499.9 MB, free: 10.72 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3206, allocations: 68.1 MB / 0.5547 GB, free: 32.71 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.006542/0.3272, allocations: 6.422 MB / 0.5609 GB, free: 28.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003756/0.331, allocations: 1.823 MB / 0.5627 GB, free: 26.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00112/0.3321, allocations: 11.41 kB / 0.5627 GB, free: 26.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007829/0.3329, allocations: 222.1 kB / 0.5629 GB, free: 26.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002191/0.3352, allocations: 0.7173 MB / 0.5636 GB, free: 25.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.3364, allocations: 0.6005 MB / 0.5642 GB, free: 25.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001327/0.3378, allocations: 1.394 MB / 0.5656 GB, free: 24.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000404/0.3382, allocations: 326.1 kB / 0.5659 GB, free: 24.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005393/0.3387, allocations: 0.5795 MB / 0.5665 GB, free: 23.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006208/0.3394, allocations: 0.7268 MB / 0.5672 GB, free: 23.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001722/0.3396, allocations: 100.4 kB / 0.5673 GB, free: 23.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004777/0.34, allocations: 229 kB / 0.5675 GB, free: 23.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001788/0.3402, allocations: 285.1 kB / 0.5678 GB, free: 23.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004193/0.3407, allocations: 0.6208 MB / 0.5684 GB, free: 22.72 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00124/0.3419, allocations: 1.48 MB / 0.5698 GB, free: 21.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3419, allocations: 0 / 0.5698 GB, free: 21.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3419, allocations: 1.188 kB / 0.5698 GB, free: 21.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.3419, allocations: 0 / 0.5698 GB, free: 21.61 MB / 398.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.00742/0.3494, allocations: 2.54 MB / 0.5723 GB, free: 20.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.3494, allocations: 21.48 kB / 0.5723 GB, free: 20.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001424/0.3496, allocations: 128.6 kB / 0.5724 GB, free: 19.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004837/0.3544, allocations: 0.7775 MB / 0.5732 GB, free: 19.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009314/0.3554, allocations: 0.7534 MB / 0.5739 GB, free: 18.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002601/0.3556, allocations: 259.1 kB / 0.5742 GB, free: 18.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.3558, allocations: 79.88 kB / 0.5743 GB, free: 18.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002165/0.358, allocations: 1.077 MB / 0.5753 GB, free: 18.08 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.358, allocations: 3.938 kB / 0.5753 GB, free: 18.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.143e-05/0.3581, allocations: 30.41 kB / 0.5753 GB, free: 18.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.539e-05/0.3581, allocations: 19.16 kB / 0.5754 GB, free: 18.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002234/0.3604, allocations: 1.12 MB / 0.5765 GB, free: 17.04 MB / 398.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.004542/0.3649, allocations: 3.452 MB / 0.5798 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001764/0.3667, allocations: 1.408 MB / 0.5812 GB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/0.3681, allocations: 0.7774 MB / 0.582 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.269e-05/0.3682, allocations: 13 kB / 0.582 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.3682, allocations: 47.5 kB / 0.582 GB, free: 11.05 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 2.885e-06/0.3682, allocations: 0 / 0.582 GB, free: 11.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=96): time 0.02409/0.3923, allocations: 6.75 MB / 0.5886 GB, free: 4.273 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.3924, allocations: 68.41 kB / 0.5887 GB, free: 4.191 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000866/0.3933, allocations: 0.8837 MB / 0.5895 GB, free: 3.289 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.744e-05/0.3933, allocations: 41.7 kB / 0.5896 GB, free: 3.242 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000232/0.3936, allocations: 492.7 kB / 0.5901 GB, free: 2.754 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002369/0.3938, allocations: 347 kB / 0.5904 GB, free: 2.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000329/0.3942, allocations: 194.8 kB / 0.5906 GB, free: 2.211 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.058e-05/0.3942, allocations: 349.9 kB / 0.5909 GB, free: 1.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001455/0.3957, allocations: 0.7131 MB / 0.5916 GB, free: 1.152 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001506/0.3972, allocations: 0.8384 MB / 0.5924 GB, free: 288 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01846/0.4157, allocations: 4.798 MB / 0.5971 GB, free: 11.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.4157, allocations: 0 / 0.5971 GB, free: 11.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01371/0.4294, allocations: 4.253 MB / 0.6013 GB, free: 7.184 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.4295, allocations: 8 kB / 0.6013 GB, free: 7.176 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.4295, allocations: 0 / 0.6013 GB, free: 7.176 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006299/0.4358, allocations: 1.863 MB / 0.6031 GB, free: 5.309 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.4368, allocations: 211.6 kB / 0.6033 GB, free: 5.102 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02088/0.4577, allocations: 9.105 MB / 0.6122 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.4593, allocations: 175 kB / 0.6123 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.899e-05/0.4594, allocations: 35.98 kB / 0.6124 GB, free: 11.64 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 (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 prepare postOptimizeDAE: time 0.000462/0.4599, allocations: 247.2 kB / 0.6126 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/0.4601, allocations: 118.5 kB / 0.6127 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01341/0.4735, allocations: 4.01 MB / 0.6166 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.4736, allocations: 8 kB / 0.6167 GB, free: 7.234 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4736, allocations: 3.938 kB / 0.6167 GB, free: 7.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.4736, allocations: 3.984 kB / 0.6167 GB, free: 7.227 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01523/0.4888, allocations: 5.629 MB / 0.6222 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.4889, allocations: 0 / 0.6222 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007229/0.4896, allocations: 131.8 kB / 0.6223 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005982/0.4956, allocations: 1.741 MB / 0.624 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.4957, allocations: 16 kB / 0.624 GB, free: 15.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01831/0.514, allocations: 8.072 MB / 0.6319 GB, free: 7.352 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5141, allocations: 4 kB / 0.6319 GB, free: 7.348 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01525/0.5293, allocations: 4.97 MB / 0.6367 GB, free: 2.355 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005345/0.5299, allocations: 203.3 kB / 0.6369 GB, free: 2.137 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001585/0.53, allocations: 16 kB / 0.6369 GB, free: 2.121 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.5311, allocations: 111.9 kB / 0.6371 GB, free: 2.012 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006846/0.5318, allocations: 224.5 kB / 0.6373 GB, free: 1.789 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-05/0.5319, allocations: 20 kB / 0.6373 GB, free: 1.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007422/0.5326, allocations: 0.5927 MB / 0.6379 GB, free: 1.168 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5326, allocations: 0 / 0.6379 GB, free: 1.168 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001118/0.5337, allocations: 427.5 kB / 0.6383 GB, free: 0.75 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 (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.0154/0.5492, allocations: 5.561 MB / 0.6437 GB, free: 11.16 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007253/0.5564, allocations: 2.493 MB / 0.6461 GB, free: 8.648 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.5564, allocations: 0 / 0.6461 GB, free: 8.648 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00482/0.5613, allocations: 1.597 MB / 0.6477 GB, free: 7.039 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008018/0.5621, allocations: 88.36 kB / 0.6478 GB, free: 6.953 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03702/0.5991, allocations: 15.69 MB / 0.6631 GB, free: 6.863 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006873/0.5999, allocations: 1.08 MB / 0.6642 GB, free: 5.758 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004359/0.6003, allocations: 94.67 kB / 0.6642 GB, free: 5.66 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005642/0.6009, allocations: 447.2 kB / 0.6647 GB, free: 5.223 MB / 478.1 MB Notification: Performance of SimCode: time 9.62e-07/0.6009, allocations: 0 / 0.6647 GB, free: 5.223 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05811/0.659, allocations: 32.87 MB / 0.6968 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.5, allocations: 16.89 kB / 0.6968 GB, free: 4.426 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order2test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)