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.08955/0.08955, allocations: 12.21 MB / 27.33 MB, free: 1.441 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.001075/0.001075, allocations: 119.4 kB / 30.84 MB, free: 4.711 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.336/1.336, allocations: 205.1 MB / 239.3 MB, free: 10.96 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.00126/0.001259, allocations: 192.5 kB / 289.5 MB, free: 15.89 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4321/0.4321, allocations: 78.51 MB / 418 MB, free: 31.77 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.002677/0.002677, allocations: 132.9 kB / 498.3 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3247, allocations: 68.03 MB / 0.5531 GB, free: 37.59 MB / 414.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.005606/0.3303, allocations: 6.757 MB / 0.5597 GB, free: 32.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003779/0.3341, allocations: 1.874 MB / 0.5615 GB, free: 31.31 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008613/0.335, allocations: 15.12 kB / 0.5615 GB, free: 31.3 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005196/0.3356, allocations: 163.7 kB / 0.5617 GB, free: 31.24 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001467/0.337, allocations: 0.6336 MB / 0.5623 GB, free: 30.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.3381, allocations: 0.5685 MB / 0.5629 GB, free: 30.5 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000999/0.3391, allocations: 1.329 MB / 0.5641 GB, free: 29.85 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003492/0.3395, allocations: 288.4 kB / 0.5644 GB, free: 29.71 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004854/0.34, allocations: 0.5385 MB / 0.565 GB, free: 29.45 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005506/0.3405, allocations: 0.6932 MB / 0.5656 GB, free: 29.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.3406, allocations: 66.69 kB / 0.5657 GB, free: 29.12 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004031/0.3411, allocations: 197.6 kB / 0.5659 GB, free: 29.08 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001867/0.3413, allocations: 235.2 kB / 0.5661 GB, free: 28.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003873/0.3416, allocations: 0.5832 MB / 0.5667 GB, free: 28.55 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009732/0.3426, allocations: 1.444 MB / 0.5681 GB, free: 27.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3426, allocations: 0 / 0.5681 GB, free: 27.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3427, allocations: 4 kB / 0.5681 GB, free: 27.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.3427, allocations: 0 / 0.5681 GB, free: 27.88 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.007144/0.3498, allocations: 2.536 MB / 0.5706 GB, free: 26.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.3499, allocations: 18.42 kB / 0.5706 GB, free: 26.71 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001326/0.35, allocations: 130.3 kB / 0.5707 GB, free: 26.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004514/0.3545, allocations: 0.7818 MB / 0.5715 GB, free: 26.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009446/0.3555, allocations: 0.7585 MB / 0.5722 GB, free: 25.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002145/0.3557, allocations: 256 kB / 0.5725 GB, free: 25.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001185/0.3558, allocations: 76.5 kB / 0.5725 GB, free: 25.66 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00196/0.3578, allocations: 1.086 MB / 0.5736 GB, free: 25.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.3578, allocations: 3.984 kB / 0.5736 GB, free: 25.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-05/0.3579, allocations: 32.03 kB / 0.5736 GB, free: 25.24 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.3579, allocations: 19.03 kB / 0.5736 GB, free: 25.24 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002163/0.3601, allocations: 1.117 MB / 0.5747 GB, free: 24.89 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.005355/0.3655, allocations: 3.437 MB / 0.5781 GB, free: 22.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001989/0.3675, allocations: 1.413 MB / 0.5795 GB, free: 22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001522/0.369, allocations: 0.7872 MB / 0.5802 GB, free: 21.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001081/0.3691, allocations: 11.72 kB / 0.5802 GB, free: 21.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.3692, allocations: 45.03 kB / 0.5803 GB, free: 21.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 2.935e-06/0.3692, allocations: 0 / 0.5803 GB, free: 21.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.02544/0.3946, allocations: 6.754 MB / 0.5869 GB, free: 19.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.3947, allocations: 65.95 kB / 0.5869 GB, free: 19.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.3958, allocations: 0.8763 MB / 0.5878 GB, free: 19.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001699/0.396, allocations: 44.33 kB / 0.5878 GB, free: 19.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002618/0.3963, allocations: 0.4889 MB / 0.5883 GB, free: 18.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002801/0.3966, allocations: 340.7 kB / 0.5886 GB, free: 18.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003615/0.3969, allocations: 194.3 kB / 0.5888 GB, free: 18.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.602e-05/0.397, allocations: 355 kB / 0.5892 GB, free: 18.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/0.3986, allocations: 0.7099 MB / 0.5899 GB, free: 17.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001692/0.4003, allocations: 0.8448 MB / 0.5907 GB, free: 17.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01761/0.4179, allocations: 4.773 MB / 0.5954 GB, free: 14.92 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.948e-06/0.4179, allocations: 1.125 kB / 0.5954 GB, free: 14.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01206/0.43, allocations: 4.259 MB / 0.5995 GB, free: 10.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.43, allocations: 4 kB / 0.5995 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.43, allocations: 4 kB / 0.5995 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005254/0.4353, allocations: 1.86 MB / 0.6013 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008695/0.4362, allocations: 215.6 kB / 0.6015 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01704/0.4533, allocations: 8.36 MB / 0.6097 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/0.4548, allocations: 167 kB / 0.6099 GB, free: 128 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001803/0.455, allocations: 43.98 kB / 0.6099 GB, free: 84 kB / 414.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.0006345/0.4556, allocations: 239.3 kB / 0.6101 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003505/0.456, allocations: 122.4 kB / 0.6103 GB, free: 15.72 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0129/0.4689, allocations: 4.006 MB / 0.6142 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.4689, allocations: 8 kB / 0.6142 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.4689, allocations: 4 kB / 0.6142 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.4689, allocations: 3.984 kB / 0.6142 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01474/0.4837, allocations: 5.637 MB / 0.6197 GB, free: 5.902 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/0.4837, allocations: 0 / 0.6197 GB, free: 5.902 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007103/0.4844, allocations: 127.9 kB / 0.6198 GB, free: 5.777 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005677/0.4901, allocations: 1.742 MB / 0.6215 GB, free: 4.031 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001314/0.4903, allocations: 19.98 kB / 0.6215 GB, free: 4.012 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01711/0.5074, allocations: 7.347 MB / 0.6287 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.5074, allocations: 7.875 kB / 0.6287 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01456/0.522, allocations: 4.962 MB / 0.6336 GB, free: 7.527 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003787/0.5224, allocations: 207.4 kB / 0.6338 GB, free: 7.305 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002754/0.5227, allocations: 16 kB / 0.6338 GB, free: 7.289 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.5238, allocations: 107.9 kB / 0.6339 GB, free: 7.184 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007279/0.5246, allocations: 208.6 kB / 0.6341 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.5247, allocations: 24 kB / 0.6341 GB, free: 6.953 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008524/0.5255, allocations: 0.5887 MB / 0.6347 GB, free: 6.355 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.435e-06/0.5256, allocations: 4 kB / 0.6347 GB, free: 6.352 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00141/0.527, allocations: 439.5 kB / 0.6351 GB, free: 5.922 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.01485/0.5418, allocations: 5.546 MB / 0.6405 GB, free: 352 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006558/0.5484, allocations: 2.436 MB / 0.6429 GB, free: 13.89 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5485, allocations: 0.5625 kB / 0.6429 GB, free: 13.89 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004458/0.5529, allocations: 1.548 MB / 0.6444 GB, free: 12.33 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000967/0.5539, allocations: 88.36 kB / 0.6445 GB, free: 12.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0385/0.5924, allocations: 16.1 MB / 0.6602 GB, free: 11.75 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007748/0.5932, allocations: 1.08 MB / 0.6613 GB, free: 10.64 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000413/0.5937, allocations: 86.69 kB / 0.6613 GB, free: 10.55 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006108/0.5943, allocations: 443.3 kB / 0.6618 GB, free: 10.12 MB / 478.1 MB Notification: Performance of SimCode: time 9.51e-07/0.5943, allocations: 0 / 0.6618 GB, free: 10.12 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05028/0.6446, allocations: 30.24 MB / 0.6913 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/0.6448, allocations: 239.2 kB / 0.6915 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.483/3.128, allocations: 0 / 0.6915 GB, free: 11.7 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)