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.001343/0.001343, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.392/1.392, allocations: 222.9 MB / 239 MB, free: 4.75 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.001445/0.001445, allocations: 192.5 kB / 289.3 MB, free: 2.496 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5398/0.5398, allocations: 91.9 MB / 431.3 MB, free: 9.418 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 79.88 kB / 0.5015 GB, free: 7.98 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4163, allocations: 71.27 MB / 0.5711 GB, free: 36.56 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.005866/0.4222, allocations: 6.786 MB / 0.5777 GB, free: 32.63 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003782/0.426, allocations: 1.911 MB / 0.5796 GB, free: 31.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009118/0.4269, allocations: 14.97 kB / 0.5796 GB, free: 31.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005518/0.4275, allocations: 169.4 kB / 0.5798 GB, free: 31.32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001679/0.4292, allocations: 0.6274 MB / 0.5804 GB, free: 30.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.4304, allocations: 0.5696 MB / 0.5809 GB, free: 30.6 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001332/0.4318, allocations: 1.411 MB / 0.5823 GB, free: 29.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004437/0.4322, allocations: 323.9 kB / 0.5826 GB, free: 29.75 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007281/0.433, allocations: 0.5895 MB / 0.5832 GB, free: 29.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006973/0.4337, allocations: 0.7409 MB / 0.5839 GB, free: 29.08 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001502/0.4338, allocations: 100.3 kB / 0.584 GB, free: 29.08 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000527/0.4344, allocations: 244.4 kB / 0.5842 GB, free: 29.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001986/0.4346, allocations: 276.7 kB / 0.5845 GB, free: 28.86 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005021/0.4351, allocations: 0.6245 MB / 0.5851 GB, free: 28.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001549/0.4367, allocations: 1.501 MB / 0.5866 GB, free: 27.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.4367, allocations: 5.125 kB / 0.5866 GB, free: 27.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.4367, allocations: 0 / 0.5866 GB, free: 27.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.4367, allocations: 0 / 0.5866 GB, free: 27.73 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.008114/0.4448, allocations: 2.56 MB / 0.5891 GB, free: 26.55 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.4449, allocations: 7.844 kB / 0.5891 GB, free: 26.55 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001537/0.445, allocations: 132.2 kB / 0.5892 GB, free: 26.46 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004923/0.45, allocations: 0.7817 MB / 0.59 GB, free: 26.3 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.4512, allocations: 0.7767 MB / 0.5907 GB, free: 25.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003429/0.4516, allocations: 253.8 kB / 0.591 GB, free: 25.52 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002004/0.4518, allocations: 79.41 kB / 0.5911 GB, free: 25.49 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002763/0.4546, allocations: 1.083 MB / 0.5921 GB, free: 25.1 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.4546, allocations: 0 / 0.5921 GB, free: 25.1 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.686e-05/0.4547, allocations: 31.34 kB / 0.5921 GB, free: 25.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.632e-05/0.4548, allocations: 22.09 kB / 0.5922 GB, free: 25.07 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002513/0.4573, allocations: 1.119 MB / 0.5933 GB, free: 24.73 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.005957/0.4632, allocations: 3.46 MB / 0.5966 GB, free: 22.76 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002115/0.4654, allocations: 1.429 MB / 0.598 GB, free: 21.82 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00157/0.467, allocations: 0.7777 MB / 0.5988 GB, free: 21.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.4671, allocations: 24.98 kB / 0.5988 GB, free: 21.51 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.4671, allocations: 41.84 kB / 0.5989 GB, free: 21.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 2.956e-06/0.4671, allocations: 0 / 0.5989 GB, free: 21.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02692/0.4941, allocations: 6.612 MB / 0.6053 GB, free: 20.21 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.4942, allocations: 62.44 kB / 0.6054 GB, free: 20.14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/0.4956, allocations: 0.8972 MB / 0.6063 GB, free: 19.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002592/0.4959, allocations: 41.36 kB / 0.6063 GB, free: 19.72 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003566/0.4963, allocations: 0.4984 MB / 0.6068 GB, free: 19.32 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000354/0.4966, allocations: 346.6 kB / 0.6071 GB, free: 19.05 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003864/0.497, allocations: 198.3 kB / 0.6073 GB, free: 18.95 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.36e-05/0.4971, allocations: 355.1 kB / 0.6076 GB, free: 18.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/0.4988, allocations: 0.7234 MB / 0.6083 GB, free: 18.37 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001844/0.5007, allocations: 0.8473 MB / 0.6092 GB, free: 18.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01995/0.5206, allocations: 4.836 MB / 0.6139 GB, free: 16.67 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.5207, allocations: 5.219 kB / 0.6139 GB, free: 16.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01359/0.5343, allocations: 4.276 MB / 0.6181 GB, free: 14.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.306e-05/0.5344, allocations: 7.938 kB / 0.6181 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.5344, allocations: 4 kB / 0.6181 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00574/0.5401, allocations: 1.811 MB / 0.6199 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.5413, allocations: 211.7 kB / 0.6201 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0189/0.5602, allocations: 9.332 MB / 0.6292 GB, free: 2.703 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/0.5621, allocations: 167 kB / 0.6293 GB, free: 2.539 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.5622, allocations: 43.98 kB / 0.6294 GB, free: 2.496 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.0005495/0.5628, allocations: 248.2 kB / 0.6296 GB, free: 2.246 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.563, allocations: 118.5 kB / 0.6297 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01244/0.5754, allocations: 4.018 MB / 0.6336 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.996e-05/0.5755, allocations: 8 kB / 0.6337 GB, free: 14.09 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.5755, allocations: 3.938 kB / 0.6337 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-05/0.5755, allocations: 11.97 kB / 0.6337 GB, free: 14.07 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01503/0.5906, allocations: 5.61 MB / 0.6391 GB, free: 8.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/0.5906, allocations: 7.938 kB / 0.6392 GB, free: 8.312 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007907/0.5914, allocations: 135.8 kB / 0.6393 GB, free: 8.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005858/0.5973, allocations: 1.749 MB / 0.641 GB, free: 6.426 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001842/0.5975, allocations: 23.92 kB / 0.641 GB, free: 6.402 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01836/0.6159, allocations: 8.072 MB / 0.6489 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.6159, allocations: 0 / 0.6489 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01522/0.6311, allocations: 4.97 MB / 0.6537 GB, free: 9.188 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005178/0.6317, allocations: 207.4 kB / 0.6539 GB, free: 8.965 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001907/0.6319, allocations: 16 kB / 0.654 GB, free: 8.949 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.633, allocations: 115.8 kB / 0.6541 GB, free: 8.836 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008019/0.6339, allocations: 220.7 kB / 0.6543 GB, free: 8.617 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.668e-05/0.6339, allocations: 20 kB / 0.6543 GB, free: 8.598 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007646/0.6347, allocations: 0.6008 MB / 0.6549 GB, free: 7.988 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6347, allocations: 4 kB / 0.6549 GB, free: 7.984 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00132/0.636, allocations: 447.4 kB / 0.6553 GB, free: 7.547 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.01511/0.6512, allocations: 5.534 MB / 0.6607 GB, free: 1.973 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007651/0.6589, allocations: 2.535 MB / 0.6632 GB, free: 15.42 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.6589, allocations: 0 / 0.6632 GB, free: 15.42 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005052/0.664, allocations: 1.582 MB / 0.6647 GB, free: 13.83 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.6653, allocations: 93.05 kB / 0.6648 GB, free: 13.75 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04419/0.7095, allocations: 16.35 MB / 0.6808 GB, free: 13 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008902/0.7104, allocations: 1.095 MB / 0.6819 GB, free: 11.88 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005775/0.711, allocations: 90.75 kB / 0.682 GB, free: 11.78 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007296/0.7118, allocations: 447.3 kB / 0.6824 GB, free: 11.34 MB / 494.1 MB Notification: Performance of SimCode: time 1.132e-06/0.7118, allocations: 0 / 0.6824 GB, free: 11.34 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08168/0.7935, allocations: 32.07 MB / 0.7137 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002125/0.7938, allocations: 234.8 kB / 0.7139 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.767/3.561, allocations: 0.8438 kB / 0.7139 GB, free: 11.23 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)