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.07781/0.07781, allocations: 12.2 MB / 27.47 MB, free: 1.418 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.0008209/0.000821, allocations: 101.7 kB / 31 MB, free: 4.766 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.29/1.29, allocations: 205.4 MB / 239.8 MB, free: 12.07 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.0009851/0.0009851, allocations: 177.8 kB / 291 MB, free: 13.36 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4622/0.4622, allocations: 78.53 MB / 420.5 MB, free: 48.84 MB / 334.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.0008514/0.0008515, allocations: 37.3 kB / 0.4902 GB, free: 2.102 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3352, allocations: 69.22 MB / 0.5578 GB, free: 43.01 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.005311/0.3406, allocations: 6.292 MB / 0.5639 GB, free: 40.56 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003585/0.3442, allocations: 1.85 MB / 0.5657 GB, free: 39.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008183/0.345, allocations: 13.22 kB / 0.5658 GB, free: 39.45 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005245/0.3456, allocations: 173.9 kB / 0.5659 GB, free: 39.38 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001652/0.3472, allocations: 0.6204 MB / 0.5665 GB, free: 38.97 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.3485, allocations: 0.5588 MB / 0.5671 GB, free: 38.66 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001514/0.35, allocations: 1.338 MB / 0.5684 GB, free: 38 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004719/0.3505, allocations: 283.6 kB / 0.5687 GB, free: 37.87 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007001/0.3512, allocations: 0.5131 MB / 0.5692 GB, free: 37.63 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007102/0.352, allocations: 0.6547 MB / 0.5698 GB, free: 37.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.3521, allocations: 52.66 kB / 0.5698 GB, free: 37.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004788/0.3526, allocations: 174 kB / 0.57 GB, free: 37.29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001896/0.3528, allocations: 225.4 kB / 0.5702 GB, free: 37.15 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000426/0.3532, allocations: 0.588 MB / 0.5708 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.3544, allocations: 1.415 MB / 0.5722 GB, free: 36.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3544, allocations: 0 / 0.5722 GB, free: 36.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3544, allocations: 0 / 0.5722 GB, free: 36.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.3544, allocations: 0 / 0.5722 GB, free: 36.2 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.00687/0.3613, allocations: 2.371 MB / 0.5745 GB, free: 35.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.3613, allocations: 16.86 kB / 0.5745 GB, free: 35.16 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001663/0.3615, allocations: 127.4 kB / 0.5746 GB, free: 35.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004631/0.3662, allocations: 0.7882 MB / 0.5754 GB, free: 34.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009696/0.3671, allocations: 0.7569 MB / 0.5761 GB, free: 34.37 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002344/0.3674, allocations: 268 kB / 0.5764 GB, free: 34.14 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001368/0.3675, allocations: 76.25 kB / 0.5765 GB, free: 34.12 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002219/0.3697, allocations: 1.169 MB / 0.5776 GB, free: 33.72 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.3698, allocations: 0 / 0.5776 GB, free: 33.72 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-05/0.3699, allocations: 36.59 kB / 0.5776 GB, free: 33.7 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.3699, allocations: 17.59 kB / 0.5777 GB, free: 33.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002426/0.3723, allocations: 1.245 MB / 0.5789 GB, free: 33.33 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.004848/0.3772, allocations: 3.502 MB / 0.5823 GB, free: 31.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001886/0.3791, allocations: 1.509 MB / 0.5838 GB, free: 30.41 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001551/0.3806, allocations: 0.8721 MB / 0.5846 GB, free: 30.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.128e-05/0.3807, allocations: 18.08 kB / 0.5846 GB, free: 30.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.3808, allocations: 38.62 kB / 0.5847 GB, free: 30.06 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 2.845e-06/0.3808, allocations: 0 / 0.5847 GB, free: 30.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02714/0.4079, allocations: 8.365 MB / 0.5928 GB, free: 28.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.408, allocations: 61.78 kB / 0.5929 GB, free: 28.54 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.4092, allocations: 0.8883 MB / 0.5938 GB, free: 28.17 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001714/0.4094, allocations: 40.89 kB / 0.5938 GB, free: 28.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002715/0.4096, allocations: 0.4893 MB / 0.5943 GB, free: 27.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002789/0.4099, allocations: 341.5 kB / 0.5946 GB, free: 27.46 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.4101, allocations: 104.3 kB / 0.5947 GB, free: 27.41 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.651e-05/0.4102, allocations: 356.9 kB / 0.5951 GB, free: 27.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001737/0.4119, allocations: 0.798 MB / 0.5958 GB, free: 26.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001751/0.4137, allocations: 0.9325 MB / 0.5967 GB, free: 26.45 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01916/0.4328, allocations: 5.34 MB / 0.602 GB, free: 25.08 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.4329, allocations: 0 / 0.602 GB, free: 25.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01489/0.4478, allocations: 5.208 MB / 0.607 GB, free: 23.81 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.4478, allocations: 6.094 kB / 0.6071 GB, free: 23.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.4479, allocations: 6.203 kB / 0.6071 GB, free: 23.81 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006677/0.4546, allocations: 2.174 MB / 0.6092 GB, free: 23.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.4557, allocations: 223.3 kB / 0.6094 GB, free: 22.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01958/0.4753, allocations: 9.359 MB / 0.6185 GB, free: 13.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/0.4769, allocations: 215 kB / 0.6187 GB, free: 13.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/0.4771, allocations: 43.98 kB / 0.6188 GB, free: 13.18 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.0006141/0.4777, allocations: 239.1 kB / 0.619 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003143/0.4781, allocations: 122.4 kB / 0.6191 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01337/0.4914, allocations: 4.951 MB / 0.624 GB, free: 7.844 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.4915, allocations: 8 kB / 0.624 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4915, allocations: 0 / 0.624 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/0.4915, allocations: 3.984 kB / 0.624 GB, free: 7.832 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01481/0.5063, allocations: 6.578 MB / 0.6304 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.5063, allocations: 0 / 0.6304 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006206/0.507, allocations: 135.9 kB / 0.6305 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006159/0.5131, allocations: 2.054 MB / 0.6325 GB, free: 14.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.506e-05/0.5133, allocations: 16 kB / 0.6325 GB, free: 14.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01913/0.5324, allocations: 8.225 MB / 0.6406 GB, free: 6.535 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.5324, allocations: 3.938 kB / 0.6406 GB, free: 6.531 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01687/0.5493, allocations: 5.997 MB / 0.6464 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004155/0.5498, allocations: 207.3 kB / 0.6466 GB, free: 296 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002749/0.5501, allocations: 20.06 kB / 0.6467 GB, free: 276 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/0.5513, allocations: 159.9 kB / 0.6468 GB, free: 116 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007532/0.5521, allocations: 208.6 kB / 0.647 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.5522, allocations: 28 kB / 0.647 GB, free: 15.88 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008594/0.553, allocations: 0.5887 MB / 0.6476 GB, free: 15.28 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5531, allocations: 0 / 0.6476 GB, free: 15.28 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001502/0.5546, allocations: 427.5 kB / 0.648 GB, free: 14.86 MB / 462.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.01709/0.5717, allocations: 6.598 MB / 0.6545 GB, free: 8.234 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007926/0.5796, allocations: 2.758 MB / 0.6572 GB, free: 5.465 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.5797, allocations: 0 / 0.6572 GB, free: 5.465 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005389/0.5851, allocations: 1.802 MB / 0.6589 GB, free: 3.656 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.5862, allocations: 88.88 kB / 0.659 GB, free: 3.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04224/0.6284, allocations: 18.09 MB / 0.6767 GB, free: 1.078 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006945/0.6291, allocations: 1.084 MB / 0.6777 GB, free: 15.96 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004136/0.6296, allocations: 86.64 kB / 0.6778 GB, free: 15.88 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006075/0.6302, allocations: 443.3 kB / 0.6782 GB, free: 15.44 MB / 494.1 MB Notification: Performance of SimCode: time 1.293e-06/0.6302, allocations: 0 / 0.6782 GB, free: 15.44 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05383/0.6841, allocations: 29.67 MB / 0.7072 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002464/0.6843, allocations: 238.6 kB / 0.7074 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.475/3.16, allocations: 0 / 0.7074 GB, free: 1.648 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 & /home/hudson/saved_omc/OMSimulator/install/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)