Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_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.Order3test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_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.09252/0.09252, allocations: 12.2 MB / 27.43 MB, free: 1.387 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.001131/0.001131, allocations: 120.2 kB / 30.94 MB, free: 4.664 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.504/1.504, allocations: 205.1 MB / 239.4 MB, free: 10.94 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.001577/0.001577, allocations: 184.5 kB / 289.6 MB, free: 15.87 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.526/0.526, allocations: 78.51 MB / 418.1 MB, free: 31.75 MB / 318.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.002605/0.002605, allocations: 131.8 kB / 498.5 MB, free: 456 kB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4432/0.4459, allocations: 68.03 MB / 0.5533 GB, free: 37.7 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.006463/0.4524, allocations: 6.817 MB / 0.5599 GB, free: 32.72 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003751/0.4562, allocations: 1.873 MB / 0.5617 GB, free: 31.37 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008795/0.4571, allocations: 16.94 kB / 0.5618 GB, free: 31.37 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000707/0.4578, allocations: 169.4 kB / 0.5619 GB, free: 31.3 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0022/0.46, allocations: 0.6346 MB / 0.5625 GB, free: 30.88 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.4614, allocations: 0.5656 MB / 0.5631 GB, free: 30.56 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001932/0.4634, allocations: 1.407 MB / 0.5645 GB, free: 29.86 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005669/0.4639, allocations: 335.2 kB / 0.5648 GB, free: 29.7 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.465, allocations: 0.5905 MB / 0.5654 GB, free: 29.4 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006883/0.4657, allocations: 0.7273 MB / 0.5661 GB, free: 29.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001495/0.4658, allocations: 102.6 kB / 0.5662 GB, free: 29.04 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004747/0.4663, allocations: 239.7 kB / 0.5664 GB, free: 29 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001948/0.4665, allocations: 277.1 kB / 0.5667 GB, free: 28.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000456/0.467, allocations: 0.6357 MB / 0.5673 GB, free: 28.39 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001318/0.4683, allocations: 1.495 MB / 0.5688 GB, free: 27.69 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4683, allocations: 4 kB / 0.5688 GB, free: 27.69 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4683, allocations: 0 / 0.5688 GB, free: 27.69 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.4683, allocations: 0 / 0.5688 GB, free: 27.69 MB / 414.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.007291/0.4756, allocations: 2.563 MB / 0.5713 GB, free: 26.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.4757, allocations: 15.02 kB / 0.5713 GB, free: 26.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001527/0.4758, allocations: 135.5 kB / 0.5714 GB, free: 26.4 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004587/0.4804, allocations: 0.7767 MB / 0.5722 GB, free: 26.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.4815, allocations: 0.7608 MB / 0.5729 GB, free: 25.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002384/0.4817, allocations: 268.1 kB / 0.5732 GB, free: 25.47 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001377/0.4819, allocations: 74.84 kB / 0.5732 GB, free: 25.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/0.4841, allocations: 1.081 MB / 0.5743 GB, free: 25.06 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.4841, allocations: 0 / 0.5743 GB, free: 25.06 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.557e-05/0.4842, allocations: 30.47 kB / 0.5743 GB, free: 25.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/0.4842, allocations: 19.5 kB / 0.5743 GB, free: 25.04 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002312/0.4865, allocations: 1.123 MB / 0.5754 GB, free: 24.69 MB / 414.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.006111/0.4927, allocations: 3.469 MB / 0.5788 GB, free: 22.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002237/0.4949, allocations: 1.419 MB / 0.5802 GB, free: 21.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00165/0.4966, allocations: 0.7831 MB / 0.581 GB, free: 21.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001295/0.4967, allocations: 16.62 kB / 0.581 GB, free: 21.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.4967, allocations: 43.34 kB / 0.581 GB, free: 21.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=97): time 2.635e-06/0.4968, allocations: 0 / 0.581 GB, free: 21.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=97): time 0.02722/0.524, allocations: 6.613 MB / 0.5875 GB, free: 19.67 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.5241, allocations: 65.59 kB / 0.5875 GB, free: 19.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001547/0.5256, allocations: 0.8986 MB / 0.5884 GB, free: 19.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002346/0.5259, allocations: 41.2 kB / 0.5885 GB, free: 19.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/0.5262, allocations: 0.4891 MB / 0.5889 GB, free: 18.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003573/0.5266, allocations: 345.7 kB / 0.5893 GB, free: 18.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004404/0.527, allocations: 203.9 kB / 0.5895 GB, free: 18.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.742e-05/0.5271, allocations: 356.1 kB / 0.5898 GB, free: 17.83 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001691/0.5288, allocations: 0.7223 MB / 0.5905 GB, free: 17.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001726/0.5306, allocations: 0.8545 MB / 0.5913 GB, free: 16.99 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01836/0.5489, allocations: 4.83 MB / 0.5961 GB, free: 14.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/0.549, allocations: 4 kB / 0.5961 GB, free: 14.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01199/0.561, allocations: 4.269 MB / 0.6002 GB, free: 10.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.561, allocations: 19.22 kB / 0.6003 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.561, allocations: 0 / 0.6003 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005453/0.5665, allocations: 1.815 MB / 0.602 GB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009658/0.5675, allocations: 207.7 kB / 0.6022 GB, free: 8.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01914/0.5866, allocations: 9.336 MB / 0.6113 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/0.5884, allocations: 171 kB / 0.6115 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.5885, allocations: 43.98 kB / 0.6115 GB, free: 14.56 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.0005849/0.5891, allocations: 249.4 kB / 0.6118 GB, free: 14.31 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/0.5893, allocations: 122.6 kB / 0.6119 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01314/0.6025, allocations: 4.015 MB / 0.6158 GB, free: 10.15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.6025, allocations: 12 kB / 0.6158 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.6025, allocations: 3.938 kB / 0.6158 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.6026, allocations: 3.984 kB / 0.6158 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01478/0.6173, allocations: 5.616 MB / 0.6213 GB, free: 4.379 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.6174, allocations: 3.984 kB / 0.6213 GB, free: 4.375 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006829/0.618, allocations: 127.8 kB / 0.6215 GB, free: 4.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005806/0.6239, allocations: 1.745 MB / 0.6232 GB, free: 2.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.624, allocations: 23.92 kB / 0.6232 GB, free: 2.477 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01849/0.6425, allocations: 8.083 MB / 0.6311 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.6425, allocations: 0 / 0.6311 GB, free: 10.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01468/0.6572, allocations: 4.962 MB / 0.6359 GB, free: 5.262 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004516/0.6577, allocations: 207.4 kB / 0.6361 GB, free: 5.039 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/0.6578, allocations: 20 kB / 0.6361 GB, free: 5.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009619/0.6588, allocations: 111.8 kB / 0.6362 GB, free: 4.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006837/0.6595, allocations: 216.7 kB / 0.6364 GB, free: 4.695 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.797e-05/0.6596, allocations: 27.98 kB / 0.6365 GB, free: 4.668 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007727/0.6604, allocations: 0.5969 MB / 0.6371 GB, free: 4.062 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6604, allocations: 0 / 0.6371 GB, free: 4.062 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001278/0.6617, allocations: 439.5 kB / 0.6375 GB, free: 3.633 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.01488/0.6765, allocations: 5.542 MB / 0.6429 GB, free: 14.06 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007452/0.684, allocations: 2.531 MB / 0.6454 GB, free: 11.51 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.684, allocations: 3.938 kB / 0.6454 GB, free: 11.51 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004808/0.6888, allocations: 1.597 MB / 0.6469 GB, free: 9.895 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001007/0.6899, allocations: 88.41 kB / 0.647 GB, free: 9.809 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04019/0.7301, allocations: 16.35 MB / 0.663 GB, free: 9.062 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/0.7313, allocations: 1.095 MB / 0.664 GB, free: 7.941 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004878/0.7318, allocations: 90.75 kB / 0.6641 GB, free: 7.848 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007055/0.7325, allocations: 443.3 kB / 0.6646 GB, free: 7.414 MB / 478.1 MB Notification: Performance of SimCode: time 1.122e-06/0.7325, allocations: 0 / 0.6646 GB, free: 7.414 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0694/0.8019, allocations: 32.07 MB / 0.6959 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002295/0.8022, allocations: 240.4 kB / 0.6961 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.156/3.958, allocations: 0 / 0.6961 GB, free: 7.18 MB / 0.4981 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)