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.001192/0.001192, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.457/1.457, allocations: 223.3 MB / 239 MB, free: 5.438 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.001418/0.001418, allocations: 179.6 kB / 290.3 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4827/0.4827, allocations: 79.48 MB / 420.8 MB, free: 3.848 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004232/0.0004236, allocations: 12 kB / 0.4892 GB, free: 5.457 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3783/0.3787, allocations: 69.5 MB / 0.5571 GB, free: 37.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2_perturbation): time 0.005279/0.384, allocations: 5.93 MB / 0.5629 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003545/0.3876, allocations: 1.804 MB / 0.5646 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007863/0.3884, allocations: 15.97 kB / 0.5647 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004313/0.3889, allocations: 155.4 kB / 0.5648 GB, free: 36.74 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001461/0.3903, allocations: 0.5968 MB / 0.5654 GB, free: 36.47 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.3914, allocations: 0.5132 MB / 0.5659 GB, free: 36.4 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0012/0.3926, allocations: 1.282 MB / 0.5671 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003846/0.393, allocations: 267.1 kB / 0.5674 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005758/0.3936, allocations: 0.5005 MB / 0.5679 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006608/0.3943, allocations: 0.6466 MB / 0.5685 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.3944, allocations: 52.38 kB / 0.5686 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003937/0.3948, allocations: 176.8 kB / 0.5687 GB, free: 35.69 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.395, allocations: 219.6 kB / 0.5689 GB, free: 35.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.3951, allocations: 223.4 kB / 0.5692 GB, free: 35.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007722/0.3959, allocations: 1.102 MB / 0.5702 GB, free: 35.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3959, allocations: 0 / 0.5702 GB, free: 35.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3959, allocations: 0 / 0.5702 GB, free: 35.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.396, allocations: 0 / 0.5702 GB, free: 35.34 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.006519/0.4025, allocations: 2.406 MB / 0.5726 GB, free: 34.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.4025, allocations: 12.44 kB / 0.5726 GB, free: 34.48 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002558/0.4028, allocations: 126.2 kB / 0.5727 GB, free: 34.44 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004635/0.4074, allocations: 0.7903 MB / 0.5735 GB, free: 34.33 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.4085, allocations: 0.7286 MB / 0.5742 GB, free: 33.81 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002273/0.4088, allocations: 273.5 kB / 0.5745 GB, free: 33.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.4089, allocations: 78.03 kB / 0.5745 GB, free: 33.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/0.4109, allocations: 1.161 MB / 0.5757 GB, free: 33.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.411, allocations: 2.625 kB / 0.5757 GB, free: 33.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.044e-05/0.4111, allocations: 29.25 kB / 0.5757 GB, free: 33.15 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.4111, allocations: 22.33 kB / 0.5757 GB, free: 33.15 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002184/0.4133, allocations: 1.238 MB / 0.5769 GB, free: 32.79 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.004893/0.4182, allocations: 3.53 MB / 0.5804 GB, free: 30.81 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00176/0.4199, allocations: 1.512 MB / 0.5819 GB, free: 29.87 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001377/0.4213, allocations: 0.8658 MB / 0.5827 GB, free: 29.57 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/0.4215, allocations: 17.09 kB / 0.5827 GB, free: 29.56 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.4215, allocations: 50.72 kB / 0.5828 GB, free: 29.5 MB / 430.1 MB Notification: Performance of pre-optimization done (n=97): time 3.747e-06/0.4215, allocations: 4.578 kB / 0.5828 GB, free: 29.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=97): time 0.02405/0.4456, allocations: 8.159 MB / 0.5907 GB, free: 28.09 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.4456, allocations: 61.81 kB / 0.5908 GB, free: 28.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.4469, allocations: 0.8917 MB / 0.5917 GB, free: 27.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002143/0.4471, allocations: 45.77 kB / 0.5917 GB, free: 27.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002923/0.4474, allocations: 496.2 kB / 0.5922 GB, free: 27.21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003013/0.4478, allocations: 345.2 kB / 0.5925 GB, free: 26.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-05/0.4478, allocations: 25.06 kB / 0.5925 GB, free: 26.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.64e-05/0.4479, allocations: 349.8 kB / 0.5929 GB, free: 26.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001631/0.4496, allocations: 0.8149 MB / 0.5937 GB, free: 26.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001734/0.4513, allocations: 0.9337 MB / 0.5946 GB, free: 25.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001666/0.453, allocations: 0.8636 MB / 0.5954 GB, free: 25.62 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.453, allocations: 1.25 kB / 0.5954 GB, free: 25.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.01442/0.4674, allocations: 5.217 MB / 0.6005 GB, free: 24.48 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.987e-05/0.4675, allocations: 6.969 kB / 0.6005 GB, free: 24.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.4675, allocations: 2.344 kB / 0.6005 GB, free: 24.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006706/0.4742, allocations: 2.098 MB / 0.6026 GB, free: 24.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00128/0.4756, allocations: 240.1 kB / 0.6028 GB, free: 24.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01952/0.4951, allocations: 9.533 MB / 0.6121 GB, free: 19.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.4966, allocations: 222 kB / 0.6123 GB, free: 19.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.96e-05/0.4967, allocations: 43.61 kB / 0.6124 GB, free: 19.35 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.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 (112): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004268/0.4971, allocations: 240.3 kB / 0.6126 GB, free: 19.11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.4973, allocations: 119.1 kB / 0.6127 GB, free: 18.99 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/0.5088, allocations: 4.956 MB / 0.6175 GB, free: 14.63 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.5088, allocations: 8 kB / 0.6176 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.5088, allocations: 0 / 0.6176 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/0.5088, allocations: 4.734 kB / 0.6176 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01296/0.5218, allocations: 6.564 MB / 0.624 GB, free: 7.914 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/0.5219, allocations: 0 / 0.624 GB, free: 7.914 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000689/0.5226, allocations: 147.8 kB / 0.6241 GB, free: 7.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005069/0.5277, allocations: 2.056 MB / 0.6261 GB, free: 5.711 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001787/0.5279, allocations: 17.31 kB / 0.6261 GB, free: 5.695 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01596/0.5438, allocations: 8.207 MB / 0.6342 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.5439, allocations: 5.297 kB / 0.6342 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01435/0.5583, allocations: 5.988 MB / 0.64 GB, free: 7.328 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003985/0.5587, allocations: 207.4 kB / 0.6402 GB, free: 7.105 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003129/0.559, allocations: 16 kB / 0.6402 GB, free: 7.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.5602, allocations: 155.9 kB / 0.6404 GB, free: 6.938 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007053/0.5609, allocations: 220.6 kB / 0.6406 GB, free: 6.723 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.561, allocations: 24.94 kB / 0.6406 GB, free: 6.699 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008281/0.5618, allocations: 0.6007 MB / 0.6412 GB, free: 6.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5619, allocations: 0 / 0.6412 GB, free: 6.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001593/0.5635, allocations: 443.5 kB / 0.6416 GB, free: 5.656 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01482/0.5783, allocations: 6.566 MB / 0.648 GB, free: 15.05 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007044/0.5854, allocations: 2.768 MB / 0.6507 GB, free: 12.28 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5854, allocations: 0 / 0.6507 GB, free: 12.28 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004759/0.5902, allocations: 1.801 MB / 0.6525 GB, free: 10.47 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/0.5915, allocations: 81.55 kB / 0.6526 GB, free: 10.39 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02519/0.6167, allocations: 11.6 MB / 0.6639 GB, free: 14.49 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006754/0.6175, allocations: 1.099 MB / 0.665 GB, free: 13.36 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004887/0.618, allocations: 86.58 kB / 0.665 GB, free: 13.28 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006066/0.6186, allocations: 443.3 kB / 0.6655 GB, free: 12.84 MB / 478.1 MB Notification: Performance of SimCode: time 9.92e-07/0.6186, allocations: 0 / 0.6655 GB, free: 12.84 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8344/1.453, allocations: 29.89 MB / 0.6947 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/1.453, allocations: 215.6 kB / 0.6949 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.5/3.953, allocations: 0 / 0.6949 GB, free: 15.13 MB / 0.4981 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/linux/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) Environment - environmentSimulation: