Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Machines.PSAT.Order3test2,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2",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.0008802/0.0008802, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.365/1.365, allocations: 223.3 MB / 239 MB, free: 5.453 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.001132/0.001132, allocations: 176.2 kB / 290.3 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.458/0.458, allocations: 78.56 MB / 419.9 MB, free: 4.344 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003944/0.0003946, allocations: 12 kB / 499.9 MB, free: 6.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1373, allocations: 69.36 MB / 0.5559 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.231/0.3683, allocations: 5.3 MB / 0.5611 GB, free: 37.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003378/0.3718, allocations: 1.668 MB / 0.5627 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007308/0.3725, allocations: 15.84 kB / 0.5627 GB, free: 37.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004218/0.373, allocations: 141.4 kB / 0.5629 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001532/0.3745, allocations: 0.5717 MB / 0.5634 GB, free: 36.86 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.3756, allocations: 488.3 kB / 0.5639 GB, free: 36.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001232/0.3768, allocations: 1.131 MB / 0.565 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003573/0.3772, allocations: 215.8 kB / 0.5652 GB, free: 36.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005028/0.3777, allocations: 457.4 kB / 0.5656 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004948/0.3782, allocations: 0.569 MB / 0.5662 GB, free: 36.22 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.534e-05/0.3783, allocations: 46.75 kB / 0.5662 GB, free: 36.22 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003755/0.3787, allocations: 172.9 kB / 0.5664 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.3788, allocations: 190.5 kB / 0.5666 GB, free: 36.15 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.379, allocations: 199.5 kB / 0.5668 GB, free: 36.08 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007488/0.3797, allocations: 0.9986 MB / 0.5677 GB, free: 35.89 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3797, allocations: 5.406 kB / 0.5677 GB, free: 35.89 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3797, allocations: 0 / 0.5677 GB, free: 35.89 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.3798, allocations: 0 / 0.5677 GB, free: 35.89 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.006292/0.3861, allocations: 2.199 MB / 0.5699 GB, free: 35.11 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.3861, allocations: 9.188 kB / 0.5699 GB, free: 35.11 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002244/0.3863, allocations: 115.2 kB / 0.57 GB, free: 35.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00468/0.391, allocations: 0.7746 MB / 0.5708 GB, free: 34.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001189/0.3923, allocations: 0.6745 MB / 0.5714 GB, free: 34.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000263/0.3925, allocations: 258.6 kB / 0.5717 GB, free: 34.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.3927, allocations: 70.77 kB / 0.5717 GB, free: 34.46 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/0.3946, allocations: 1.026 MB / 0.5727 GB, free: 34.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.3946, allocations: 0 / 0.5727 GB, free: 34.39 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-05/0.3947, allocations: 29.53 kB / 0.5728 GB, free: 34.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/0.3947, allocations: 22.67 kB / 0.5728 GB, free: 34.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001884/0.3966, allocations: 1.06 MB / 0.5738 GB, free: 34.36 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.004828/0.4015, allocations: 3.234 MB / 0.577 GB, free: 32.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.4032, allocations: 1.371 MB / 0.5783 GB, free: 32.01 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001282/0.4045, allocations: 0.772 MB / 0.5791 GB, free: 31.73 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001082/0.4046, allocations: 13 kB / 0.5791 GB, free: 31.73 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.4046, allocations: 46.31 kB / 0.5791 GB, free: 31.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 3.837e-06/0.4046, allocations: 1.031 kB / 0.5791 GB, free: 31.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.02566/0.4303, allocations: 8.363 MB / 0.5873 GB, free: 30.31 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.4304, allocations: 67.91 kB / 0.5874 GB, free: 30.24 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.4314, allocations: 0.788 MB / 0.5881 GB, free: 29.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002255/0.4317, allocations: 40.89 kB / 0.5882 GB, free: 29.85 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002673/0.432, allocations: 439.6 kB / 0.5886 GB, free: 29.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002928/0.4323, allocations: 294.8 kB / 0.5889 GB, free: 29.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.666e-05/0.4323, allocations: 19.56 kB / 0.5889 GB, free: 29.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.466e-05/0.4324, allocations: 352 kB / 0.5892 GB, free: 28.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001431/0.4339, allocations: 0.7261 MB / 0.5899 GB, free: 28.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/0.4354, allocations: 0.8411 MB / 0.5908 GB, free: 28.33 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001604/0.437, allocations: 0.7712 MB / 0.5915 GB, free: 28.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.437, allocations: 1.125 kB / 0.5915 GB, free: 28.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01388/0.4509, allocations: 4.967 MB / 0.5964 GB, free: 26.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/0.451, allocations: 5.281 kB / 0.5964 GB, free: 26.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.451, allocations: 4.031 kB / 0.5964 GB, free: 26.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006778/0.4578, allocations: 2.105 MB / 0.5984 GB, free: 26.61 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009867/0.4588, allocations: 178.6 kB / 0.5986 GB, free: 26.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02129/0.4801, allocations: 9.519 MB / 0.6079 GB, free: 22.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.4817, allocations: 192.5 kB / 0.6081 GB, free: 22.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002318/0.482, allocations: 36.34 kB / 0.6081 GB, free: 22.42 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.e1q:VARIABLE(start = order31.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 (96): * Single equations (assignments): 95 * 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.000668/0.4826, allocations: 230.5 kB / 0.6083 GB, free: 22.23 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003438/0.483, allocations: 108.1 kB / 0.6084 GB, free: 22.17 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01272/0.4957, allocations: 4.732 MB / 0.6131 GB, free: 19.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.629e-05/0.4958, allocations: 8 kB / 0.6131 GB, free: 19.29 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4958, allocations: 4 kB / 0.6131 GB, free: 19.29 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.627e-05/0.4958, allocations: 3.984 kB / 0.6131 GB, free: 19.28 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0138/0.5096, allocations: 6.258 MB / 0.6192 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/0.5097, allocations: 4.828 kB / 0.6192 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005318/0.5103, allocations: 95.89 kB / 0.6193 GB, free: 12.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00531/0.5156, allocations: 2.048 MB / 0.6213 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002221/0.5158, allocations: 16 kB / 0.6213 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01641/0.5323, allocations: 8.205 MB / 0.6293 GB, free: 2.371 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.5323, allocations: 0 / 0.6293 GB, free: 2.371 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01475/0.5471, allocations: 5.692 MB / 0.6349 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005499/0.5477, allocations: 189.1 kB / 0.635 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003754/0.5481, allocations: 21.02 kB / 0.6351 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.5492, allocations: 131.8 kB / 0.6352 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007293/0.5499, allocations: 196.6 kB / 0.6354 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/0.5501, allocations: 20 kB / 0.6354 GB, free: 12.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008762/0.551, allocations: 0.5343 MB / 0.6359 GB, free: 11.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.551, allocations: 0 / 0.6359 GB, free: 11.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001759/0.5527, allocations: 411.5 kB / 0.6363 GB, free: 11.14 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.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 (49): * Single equations (assignments): 48 * 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.01539/0.5681, allocations: 6.249 MB / 0.6424 GB, free: 4.863 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007021/0.5752, allocations: 2.568 MB / 0.6449 GB, free: 2.285 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.5753, allocations: 0 / 0.6449 GB, free: 2.285 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004663/0.5799, allocations: 1.695 MB / 0.6466 GB, free: 0.582 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.5812, allocations: 80 kB / 0.6467 GB, free: 0.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02397/0.6052, allocations: 10.44 MB / 0.6569 GB, free: 5.836 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006821/0.6059, allocations: 1.037 MB / 0.6579 GB, free: 4.773 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003843/0.6063, allocations: 75.97 kB / 0.6579 GB, free: 4.699 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005584/0.6069, allocations: 363.3 kB / 0.6583 GB, free: 4.344 MB / 462.1 MB Notification: Performance of SimCode: time 8.41e-07/0.6069, allocations: 0 / 0.6583 GB, free: 4.344 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05297/0.6599, allocations: 27.59 MB / 0.6852 GB, free: 9.09 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002663/0.6602, allocations: 203.2 kB / 0.6854 GB, free: 8.848 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/3.194, allocations: 0 / 0.6854 GB, free: 8.848 MB / 494.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Machines_PSAT_Order3test2.fmu > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1) Environment - environmentSimulation: