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.1138/0.1138, allocations: 12.2 MB / 27.18 MB, free: 1.516 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.001124/0.001124, allocations: 104.5 kB / 30.68 MB, free: 4.871 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.821/1.821, allocations: 205.4 MB / 239.5 MB, free: 11.57 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.001178/0.001178, allocations: 187.6 kB / 290.6 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.5083/0.5083, allocations: 78.54 MB / 420.1 MB, free: 48.64 MB / 334.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.0009347/0.0009348, allocations: 32 kB / 0.4896 GB, free: 2.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4624/0.4633, allocations: 69.22 MB / 0.5572 GB, free: 43.19 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.006423/0.4698, allocations: 5.903 MB / 0.5629 GB, free: 41.42 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004203/0.474, allocations: 1.763 MB / 0.5646 GB, free: 40.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007932/0.4748, allocations: 11.97 kB / 0.5647 GB, free: 40.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005128/0.4754, allocations: 160.1 kB / 0.5648 GB, free: 40.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001659/0.477, allocations: 0.5898 MB / 0.5654 GB, free: 39.7 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.4783, allocations: 0.5223 MB / 0.5659 GB, free: 39.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001577/0.4799, allocations: 1.257 MB / 0.5671 GB, free: 38.79 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000482/0.4804, allocations: 267.5 kB / 0.5674 GB, free: 38.67 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006517/0.4811, allocations: 0.4987 MB / 0.5679 GB, free: 38.45 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000666/0.4818, allocations: 0.6286 MB / 0.5685 GB, free: 38.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.4819, allocations: 51.91 kB / 0.5685 GB, free: 38.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004727/0.4824, allocations: 177.5 kB / 0.5687 GB, free: 38.12 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001863/0.4826, allocations: 216.9 kB / 0.5689 GB, free: 38 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002047/0.4828, allocations: 222.8 kB / 0.5691 GB, free: 37.86 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009982/0.4838, allocations: 1.086 MB / 0.5702 GB, free: 37.51 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.4838, allocations: 0 / 0.5702 GB, free: 37.51 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4838, allocations: 1.375 kB / 0.5702 GB, free: 37.51 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.4838, allocations: 0 / 0.5702 GB, free: 37.51 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.006482/0.4903, allocations: 2.384 MB / 0.5725 GB, free: 36.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.4904, allocations: 23.52 kB / 0.5725 GB, free: 36.47 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001926/0.4906, allocations: 125 kB / 0.5726 GB, free: 36.38 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004419/0.495, allocations: 0.7793 MB / 0.5734 GB, free: 36.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.4961, allocations: 0.7243 MB / 0.5741 GB, free: 35.72 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002328/0.4963, allocations: 265.5 kB / 0.5744 GB, free: 35.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.4964, allocations: 81.72 kB / 0.5744 GB, free: 35.47 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002095/0.4986, allocations: 1.154 MB / 0.5756 GB, free: 35.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.4986, allocations: 0 / 0.5756 GB, free: 35.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.63e-05/0.4987, allocations: 30.03 kB / 0.5756 GB, free: 35.06 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.46e-05/0.4987, allocations: 23.67 kB / 0.5756 GB, free: 35.06 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002336/0.501, allocations: 1.233 MB / 0.5768 GB, free: 34.7 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.004777/0.5058, allocations: 3.513 MB / 0.5803 GB, free: 32.72 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.5076, allocations: 1.501 MB / 0.5817 GB, free: 31.78 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001406/0.5091, allocations: 0.8664 MB / 0.5826 GB, free: 31.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001086/0.5092, allocations: 13.66 kB / 0.5826 GB, free: 31.47 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.5092, allocations: 44.91 kB / 0.5826 GB, free: 31.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 3.075e-06/0.5092, allocations: 0 / 0.5826 GB, free: 31.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02331/0.5325, allocations: 8.324 MB / 0.5908 GB, free: 29.99 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.319e-05/0.5326, allocations: 61.78 kB / 0.5908 GB, free: 29.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001511/0.5342, allocations: 0.8857 MB / 0.5917 GB, free: 29.54 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001816/0.5343, allocations: 43.66 kB / 0.5917 GB, free: 29.5 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003299/0.5347, allocations: 490.8 kB / 0.5922 GB, free: 29.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003378/0.535, allocations: 345.3 kB / 0.5925 GB, free: 28.84 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.688e-05/0.5351, allocations: 24.66 kB / 0.5925 GB, free: 28.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.969e-05/0.5352, allocations: 352.8 kB / 0.5929 GB, free: 28.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001734/0.537, allocations: 0.8 MB / 0.5937 GB, free: 28.24 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001865/0.5388, allocations: 0.9285 MB / 0.5946 GB, free: 27.87 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001975/0.5408, allocations: 0.8497 MB / 0.5954 GB, free: 27.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.5408, allocations: 1.125 kB / 0.5954 GB, free: 27.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01499/0.5558, allocations: 5.142 MB / 0.6004 GB, free: 26.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.013e-05/0.5559, allocations: 10.97 kB / 0.6004 GB, free: 26.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.5559, allocations: 2.156 kB / 0.6004 GB, free: 26.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007151/0.5631, allocations: 2.186 MB / 0.6026 GB, free: 26.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/0.5644, allocations: 219.9 kB / 0.6028 GB, free: 26.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02017/0.5846, allocations: 9.346 MB / 0.6119 GB, free: 19.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/0.5864, allocations: 226.9 kB / 0.6121 GB, free: 19.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-05/0.5865, allocations: 39.98 kB / 0.6122 GB, free: 19.51 MB / 430.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 (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 prepare postOptimizeDAE: time 0.0005176/0.587, allocations: 242.5 kB / 0.6124 GB, free: 19.26 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/0.5872, allocations: 122.5 kB / 0.6125 GB, free: 19.14 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01139/0.5986, allocations: 4.947 MB / 0.6173 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.5986, allocations: 8 kB / 0.6173 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5986, allocations: 4 kB / 0.6173 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.58e-05/0.5987, allocations: 7.922 kB / 0.6174 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01303/0.6117, allocations: 6.555 MB / 0.6238 GB, free: 7.461 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.6117, allocations: 0 / 0.6238 GB, free: 7.461 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006288/0.6124, allocations: 147.8 kB / 0.6239 GB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005164/0.6176, allocations: 2.046 MB / 0.6259 GB, free: 5.266 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/0.6177, allocations: 24 kB / 0.6259 GB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01722/0.6349, allocations: 8.206 MB / 0.6339 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.635, allocations: 4 kB / 0.6339 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01508/0.6501, allocations: 5.986 MB / 0.6398 GB, free: 6.883 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004935/0.6506, allocations: 203.4 kB / 0.64 GB, free: 6.664 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003202/0.6509, allocations: 16 kB / 0.64 GB, free: 6.648 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/0.6521, allocations: 155.9 kB / 0.6401 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007253/0.6529, allocations: 216.6 kB / 0.6403 GB, free: 6.285 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.653, allocations: 27.98 kB / 0.6404 GB, free: 6.258 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009491/0.6539, allocations: 0.5848 MB / 0.6409 GB, free: 5.664 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.654, allocations: 0 / 0.6409 GB, free: 5.664 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001793/0.6558, allocations: 431.5 kB / 0.6414 GB, free: 5.242 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 (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.01532/0.6711, allocations: 6.569 MB / 0.6478 GB, free: 14.63 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007371/0.6785, allocations: 2.75 MB / 0.6505 GB, free: 11.87 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.6785, allocations: 0 / 0.6505 GB, free: 11.87 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004876/0.6834, allocations: 1.804 MB / 0.6522 GB, free: 10.06 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.6848, allocations: 88.89 kB / 0.6523 GB, free: 9.977 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02625/0.7111, allocations: 11.41 MB / 0.6634 GB, free: 14.23 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008366/0.712, allocations: 1.084 MB / 0.6645 GB, free: 13.12 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004718/0.7125, allocations: 86.69 kB / 0.6646 GB, free: 13.03 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006813/0.7132, allocations: 439.3 kB / 0.665 GB, free: 12.6 MB / 478.1 MB Notification: Performance of SimCode: time 1.723e-06/0.7132, allocations: 0 / 0.665 GB, free: 12.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05916/0.7724, allocations: 29.39 MB / 0.6937 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002279/0.7726, allocations: 227.6 kB / 0.6939 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.025/3.798, allocations: 0 / 0.6939 GB, free: 15.11 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/linux/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) Environment - environmentSimulation: