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-master/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-master/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-master/package.mo): time 0.1069/0.1069, allocations: 12.59 MB / 28.23 MB, free: 1.078 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.001111/0.001111, allocations: 115.3 kB / 31.84 MB, free: 4.02 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.234/1.234, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.001255/0.001255, allocations: 187.3 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4035/0.4035, allocations: 78.51 MB / 419.3 MB, free: 11.26 MB / 302.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.002592/0.002592, allocations: 138.6 kB / 0.5554 GB, free: 28.7 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09619/0.0988, allocations: 68.13 MB / 0.6219 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.006496/0.1053, allocations: 6.484 MB / 0.6282 GB, free: 9.406 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003254/0.1086, allocations: 1.834 MB / 0.63 GB, free: 7.566 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005233/0.1092, allocations: 12 kB / 0.6301 GB, free: 7.555 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005153/0.1097, allocations: 222 kB / 0.6303 GB, free: 7.336 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001701/0.1114, allocations: 0.7726 MB / 0.631 GB, free: 6.559 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001217/0.1127, allocations: 0.5997 MB / 0.6316 GB, free: 5.965 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001317/0.114, allocations: 1.429 MB / 0.633 GB, free: 4.531 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004102/0.1144, allocations: 328.3 kB / 0.6333 GB, free: 4.199 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006477/0.1151, allocations: 0.5874 MB / 0.6339 GB, free: 3.609 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006937/0.1158, allocations: 0.7466 MB / 0.6346 GB, free: 2.859 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.1159, allocations: 100 kB / 0.6347 GB, free: 2.762 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004021/0.1163, allocations: 239.8 kB / 0.6349 GB, free: 2.527 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001989/0.1166, allocations: 278.8 kB / 0.6352 GB, free: 2.254 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004474/0.117, allocations: 0.6213 MB / 0.6358 GB, free: 1.629 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001406/0.1184, allocations: 1.525 MB / 0.6373 GB, free: 100 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1184, allocations: 3.938 kB / 0.6373 GB, free: 96 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1184, allocations: 0 / 0.6373 GB, free: 96 kB / 446.1 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.1185, allocations: 0 / 0.6373 GB, free: 96 kB / 446.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.007906/0.1264, allocations: 2.605 MB / 0.6398 GB, free: 13.43 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.1264, allocations: 15.98 kB / 0.6399 GB, free: 13.41 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001437/0.1266, allocations: 122.8 kB / 0.64 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005042/0.1316, allocations: 0.7913 MB / 0.6408 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.1329, allocations: 0.7851 MB / 0.6415 GB, free: 11.65 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002665/0.1332, allocations: 256.2 kB / 0.6418 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.1333, allocations: 75.95 kB / 0.6418 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/0.1356, allocations: 1.085 MB / 0.6429 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.1356, allocations: 0 / 0.6429 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.252e-05/0.1357, allocations: 32 kB / 0.6429 GB, free: 10.17 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.1357, allocations: 20 kB / 0.6429 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002429/0.1382, allocations: 1.128 MB / 0.644 GB, free: 9.016 MB / 462.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.005389/0.1436, allocations: 3.441 MB / 0.6474 GB, free: 5.426 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002084/0.1457, allocations: 1.436 MB / 0.6488 GB, free: 3.871 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001586/0.1473, allocations: 0.7813 MB / 0.6496 GB, free: 3.09 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.22e-05/0.1474, allocations: 16.97 kB / 0.6496 GB, free: 3.074 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.1474, allocations: 43.56 kB / 0.6496 GB, free: 3.023 MB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 2.635e-06/0.1474, allocations: 0 / 0.6496 GB, free: 3.023 MB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.02568/0.1731, allocations: 6.614 MB / 0.6561 GB, free: 12.38 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.1732, allocations: 64.41 kB / 0.6562 GB, free: 12.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.1742, allocations: 0.8924 MB / 0.657 GB, free: 11.39 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001577/0.1744, allocations: 45.69 kB / 0.6571 GB, free: 11.34 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003196/0.1747, allocations: 0.4935 MB / 0.6575 GB, free: 10.84 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003322/0.1751, allocations: 364.8 kB / 0.6579 GB, free: 10.48 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003731/0.1755, allocations: 202.9 kB / 0.6581 GB, free: 10.27 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1756, allocations: 353.9 kB / 0.6584 GB, free: 9.922 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/0.1772, allocations: 0.7209 MB / 0.6591 GB, free: 9.203 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001723/0.1789, allocations: 0.854 MB / 0.66 GB, free: 8.316 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0188/0.1978, allocations: 4.818 MB / 0.6647 GB, free: 3.465 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.1978, allocations: 0 / 0.6647 GB, free: 3.465 MB / 478.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01389/0.2117, allocations: 4.285 MB / 0.6689 GB, free: 15.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.2118, allocations: 10.75 kB / 0.6689 GB, free: 15.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.2118, allocations: 4 kB / 0.6689 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006409/0.2182, allocations: 1.803 MB / 0.6706 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.2193, allocations: 215.7 kB / 0.6708 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0218/0.2411, allocations: 9.324 MB / 0.6799 GB, free: 3.652 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.2426, allocations: 167.3 kB / 0.6801 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.2428, allocations: 43.98 kB / 0.6801 GB, free: 3.445 MB / 494.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.0004574/0.2432, allocations: 253.1 kB / 0.6804 GB, free: 3.191 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002246/0.2435, allocations: 131.1 kB / 0.6805 GB, free: 3.062 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01341/0.2569, allocations: 4.014 MB / 0.6844 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/0.257, allocations: 11.98 kB / 0.6844 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.257, allocations: 4 kB / 0.6844 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.406e-05/0.257, allocations: 7.922 kB / 0.6845 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01548/0.2725, allocations: 5.614 MB / 0.6899 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.526e-05/0.2725, allocations: 3.938 kB / 0.6899 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007676/0.2733, allocations: 139.8 kB / 0.6901 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006116/0.2794, allocations: 1.745 MB / 0.6918 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001595/0.2796, allocations: 19.94 kB / 0.6918 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01845/0.2981, allocations: 8.078 MB / 0.6997 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.2981, allocations: 3.984 kB / 0.6997 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01535/0.3135, allocations: 4.969 MB / 0.7045 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003544/0.3139, allocations: 208.1 kB / 0.7047 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001818/0.3141, allocations: 16 kB / 0.7048 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.3151, allocations: 111.8 kB / 0.7049 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006471/0.3158, allocations: 216.7 kB / 0.7051 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.583e-05/0.3159, allocations: 27.98 kB / 0.7051 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007308/0.3166, allocations: 0.6008 MB / 0.7057 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3166, allocations: 4 kB / 0.7057 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001135/0.3178, allocations: 439.6 kB / 0.7061 GB, free: 8.496 MB / 0.5137 GB 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.0157/0.3335, allocations: 5.55 MB / 0.7115 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006935/0.3404, allocations: 2.515 MB / 0.714 GB, free: 392 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3405, allocations: 0 / 0.714 GB, free: 392 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.2308/0.5713, allocations: 1.6 MB / 0.7155 GB, free: 87 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007894/0.5721, allocations: 87.27 kB / 0.7156 GB, free: 87 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0405/0.6126, allocations: 15.36 MB / 0.7306 GB, free: 82.93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004877/0.6132, allocations: 1.098 MB / 0.7317 GB, free: 82.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003944/0.6136, allocations: 87.41 kB / 0.7318 GB, free: 82.18 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004953/0.6141, allocations: 446.3 kB / 0.7322 GB, free: 81.84 MB / 0.5137 GB Notification: Performance of SimCode: time 1.162e-06/0.6141, allocations: 0 / 0.7322 GB, free: 81.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05147/0.6655, allocations: 33.79 MB / 0.7652 GB, free: 54.49 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.5/17.17, allocations: 4.625 kB / 0.7652 GB, free: 54.48 MB / 0.5137 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 & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_2_0_0_OpenIPSL_Tests_Machines_PSAT_Order3test2_perturbation.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation.pipe 2>&1)