Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_dev_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.001578/0.001578, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.347/1.347, allocations: 222.9 MB / 238.9 MB, free: 4.754 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.001647/0.001647, allocations: 188.5 kB / 289.1 MB, free: 2.492 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5098/0.5098, allocations: 91.89 MB / 431.2 MB, free: 9.465 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 79.86 kB / 0.5013 GB, free: 8.078 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.4244, allocations: 71.27 MB / 0.5709 GB, free: 36.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.006382/0.4309, allocations: 6.793 MB / 0.5775 GB, free: 32.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003949/0.4349, allocations: 1.921 MB / 0.5794 GB, free: 31.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006025/0.4355, allocations: 14.78 kB / 0.5794 GB, free: 31.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005265/0.436, allocations: 174.4 kB / 0.5796 GB, free: 31.39 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001419/0.4375, allocations: 0.6269 MB / 0.5802 GB, free: 30.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001104/0.4386, allocations: 0.5686 MB / 0.5808 GB, free: 30.67 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001049/0.4397, allocations: 1.348 MB / 0.5821 GB, free: 30.01 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003879/0.4401, allocations: 288.6 kB / 0.5824 GB, free: 29.88 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005154/0.4406, allocations: 0.5484 MB / 0.5829 GB, free: 29.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005732/0.4412, allocations: 0.6949 MB / 0.5836 GB, free: 29.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.4413, allocations: 68.16 kB / 0.5836 GB, free: 29.3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003962/0.4417, allocations: 204.8 kB / 0.5838 GB, free: 29.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.4419, allocations: 247.9 kB / 0.5841 GB, free: 29.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004115/0.4423, allocations: 0.5943 MB / 0.5847 GB, free: 28.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001167/0.4435, allocations: 1.46 MB / 0.5861 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.4435, allocations: 0 / 0.5861 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4435, allocations: 0 / 0.5861 GB, free: 28.03 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.75e-05/0.4435, allocations: 0 / 0.5861 GB, free: 28.03 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.00805/0.4516, allocations: 2.558 MB / 0.5886 GB, free: 26.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.4516, allocations: 17.44 kB / 0.5886 GB, free: 26.85 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001555/0.4518, allocations: 130.6 kB / 0.5887 GB, free: 26.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005027/0.4568, allocations: 0.7744 MB / 0.5895 GB, free: 26.6 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.4581, allocations: 0.7693 MB / 0.5902 GB, free: 26.04 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002704/0.4584, allocations: 258.1 kB / 0.5905 GB, free: 25.82 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.4586, allocations: 87.91 kB / 0.5906 GB, free: 25.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002248/0.4608, allocations: 1.078 MB / 0.5916 GB, free: 25.4 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.4609, allocations: 0 / 0.5916 GB, free: 25.4 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.088e-05/0.461, allocations: 33.09 kB / 0.5916 GB, free: 25.38 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.461, allocations: 18.81 kB / 0.5917 GB, free: 25.38 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002348/0.4633, allocations: 1.119 MB / 0.5927 GB, free: 25.04 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.005436/0.4688, allocations: 3.47 MB / 0.5961 GB, free: 23.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001962/0.4707, allocations: 1.421 MB / 0.5975 GB, free: 22.12 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001491/0.4723, allocations: 0.7838 MB / 0.5983 GB, free: 21.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.4724, allocations: 14.81 kB / 0.5983 GB, free: 21.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.4724, allocations: 39.25 kB / 0.5983 GB, free: 21.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 3.086e-06/0.4724, allocations: 0 / 0.5983 GB, free: 21.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02631/0.4987, allocations: 6.614 MB / 0.6048 GB, free: 20.51 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.4988, allocations: 62.47 kB / 0.6049 GB, free: 20.45 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001764/0.5006, allocations: 0.9009 MB / 0.6057 GB, free: 20.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001988/0.5008, allocations: 45.98 kB / 0.6058 GB, free: 20.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004134/0.5012, allocations: 0.4934 MB / 0.6063 GB, free: 19.62 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004784/0.5017, allocations: 347.8 kB / 0.6066 GB, free: 19.35 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00062/0.5024, allocations: 196.3 kB / 0.6068 GB, free: 19.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.5025, allocations: 359.8 kB / 0.6071 GB, free: 18.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001797/0.5043, allocations: 0.7189 MB / 0.6078 GB, free: 18.67 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001894/0.5062, allocations: 0.8475 MB / 0.6087 GB, free: 18.32 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01973/0.5259, allocations: 4.825 MB / 0.6134 GB, free: 16.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.534e-05/0.526, allocations: 5.094 kB / 0.6134 GB, free: 16.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.014/0.54, allocations: 4.274 MB / 0.6175 GB, free: 14.58 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/0.5401, allocations: 7.938 kB / 0.6176 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.5401, allocations: 4 kB / 0.6176 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005816/0.5459, allocations: 1.807 MB / 0.6193 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.5471, allocations: 215.6 kB / 0.6195 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01834/0.5655, allocations: 8.578 MB / 0.6279 GB, free: 3.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.5672, allocations: 171 kB / 0.6281 GB, free: 3.672 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002414/0.5675, allocations: 43.98 kB / 0.6281 GB, free: 3.629 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.0007182/0.5682, allocations: 243.9 kB / 0.6283 GB, free: 3.383 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004059/0.5686, allocations: 122.5 kB / 0.6285 GB, free: 3.262 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01232/0.581, allocations: 4.018 MB / 0.6324 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/0.581, allocations: 8 kB / 0.6324 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.581, allocations: 3.938 kB / 0.6324 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.895e-05/0.5811, allocations: 3.984 kB / 0.6324 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01573/0.5968, allocations: 5.614 MB / 0.6379 GB, free: 9.457 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/0.5969, allocations: 0 / 0.6379 GB, free: 9.457 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007583/0.5976, allocations: 135.8 kB / 0.638 GB, free: 9.324 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005881/0.6035, allocations: 1.749 MB / 0.6397 GB, free: 7.566 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000168/0.6037, allocations: 16 kB / 0.6397 GB, free: 7.551 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01807/0.6218, allocations: 7.354 MB / 0.6469 GB, free: 56 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.6218, allocations: 3.984 kB / 0.6469 GB, free: 52 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01541/0.6372, allocations: 4.962 MB / 0.6518 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004585/0.6377, allocations: 215.2 kB / 0.652 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003176/0.6381, allocations: 16 kB / 0.652 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/0.6393, allocations: 107.9 kB / 0.6521 GB, free: 10.71 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007666/0.6401, allocations: 212.6 kB / 0.6523 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.981e-05/0.6402, allocations: 24 kB / 0.6523 GB, free: 10.48 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009766/0.6412, allocations: 0.6008 MB / 0.6529 GB, free: 9.871 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.6412, allocations: 4 kB / 0.6529 GB, free: 9.867 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001539/0.6427, allocations: 443.4 kB / 0.6533 GB, free: 9.434 MB / 462.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.01562/0.6583, allocations: 5.549 MB / 0.6587 GB, free: 3.852 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00704/0.6654, allocations: 2.459 MB / 0.6612 GB, free: 1.375 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.6654, allocations: 4.062 kB / 0.6612 GB, free: 1.371 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004906/0.6703, allocations: 1.544 MB / 0.6627 GB, free: 15.81 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.6715, allocations: 84.36 kB / 0.6627 GB, free: 15.73 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04179/0.7133, allocations: 16.33 MB / 0.6787 GB, free: 15 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008024/0.7142, allocations: 1.099 MB / 0.6798 GB, free: 13.88 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004421/0.7146, allocations: 90.75 kB / 0.6799 GB, free: 13.78 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006464/0.7153, allocations: 443.3 kB / 0.6803 GB, free: 13.35 MB / 494.1 MB Notification: Performance of SimCode: time 6.21e-07/0.7153, allocations: 0 / 0.6803 GB, free: 13.35 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05773/0.773, allocations: 30.7 MB / 0.7103 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/0.7733, allocations: 238.2 kB / 0.7105 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.66/3.433, allocations: 0 / 0.7105 GB, free: 14.59 MB / 0.5137 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)