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.00151/0.00151, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.497/1.497, allocations: 222.9 MB / 238.8 MB, free: 4.66 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.001442/0.001441, allocations: 192.4 kB / 289.1 MB, free: 2.406 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4879/0.4879, allocations: 78.52 MB / 417.8 MB, free: 3.309 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00168/0.001679, allocations: 75.89 kB / 496.9 MB, free: 6.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1563, allocations: 68.18 MB / 0.5518 GB, free: 2.461 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.277/0.4334, allocations: 6.073 MB / 0.5577 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003917/0.4374, allocations: 1.789 MB / 0.5595 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009257/0.4383, allocations: 14.5 kB / 0.5595 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000592/0.4389, allocations: 159.5 kB / 0.5596 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001725/0.4407, allocations: 0.6059 MB / 0.5602 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.4419, allocations: 0.5271 MB / 0.5607 GB, free: 35.62 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001322/0.4432, allocations: 1.186 MB / 0.5619 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000397/0.4436, allocations: 241 kB / 0.5621 GB, free: 35.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007008/0.4443, allocations: 494.3 kB / 0.5626 GB, free: 35.39 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000551/0.4449, allocations: 0.6103 MB / 0.5632 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.445, allocations: 58.09 kB / 0.5633 GB, free: 35.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004715/0.4455, allocations: 192.3 kB / 0.5634 GB, free: 35.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001645/0.4456, allocations: 216.8 kB / 0.5636 GB, free: 35.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003819/0.446, allocations: 0.5141 MB / 0.5641 GB, free: 34.97 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.4471, allocations: 1.304 MB / 0.5654 GB, free: 34.67 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4471, allocations: 0 / 0.5654 GB, free: 34.67 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4471, allocations: 3.188 kB / 0.5654 GB, free: 34.67 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.4472, allocations: 0 / 0.5654 GB, free: 34.67 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.007295/0.4545, allocations: 2.354 MB / 0.5677 GB, free: 33.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.4545, allocations: 10.81 kB / 0.5677 GB, free: 33.84 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001294/0.4547, allocations: 113.8 kB / 0.5678 GB, free: 33.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004742/0.4594, allocations: 0.7611 MB / 0.5686 GB, free: 33.72 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.4605, allocations: 0.7064 MB / 0.5693 GB, free: 33.37 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002536/0.4608, allocations: 258.8 kB / 0.5695 GB, free: 33.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.4609, allocations: 68.62 kB / 0.5696 GB, free: 33.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/0.4628, allocations: 0.9576 MB / 0.5705 GB, free: 33.12 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.4629, allocations: 2.438 kB / 0.5705 GB, free: 33.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.617e-05/0.463, allocations: 28.62 kB / 0.5706 GB, free: 33.12 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.463, allocations: 17.23 kB / 0.5706 GB, free: 33.12 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001872/0.4649, allocations: 0.9743 MB / 0.5715 GB, free: 33.11 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.004862/0.4697, allocations: 3.177 MB / 0.5746 GB, free: 32.15 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.4715, allocations: 1.297 MB / 0.5759 GB, free: 31.56 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/0.4727, allocations: 0.7057 MB / 0.5766 GB, free: 31.52 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.4728, allocations: 9.406 kB / 0.5766 GB, free: 31.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.4728, allocations: 44.78 kB / 0.5766 GB, free: 31.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 2.815e-06/0.4728, allocations: 0 / 0.5766 GB, free: 31.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.02575/0.4986, allocations: 6.755 MB / 0.5832 GB, free: 30.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.4987, allocations: 68.62 kB / 0.5833 GB, free: 30.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.4998, allocations: 0.7961 MB / 0.5841 GB, free: 29.9 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002194/0.5001, allocations: 44.95 kB / 0.5841 GB, free: 29.85 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/0.5003, allocations: 433.5 kB / 0.5845 GB, free: 29.51 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/0.5006, allocations: 292.6 kB / 0.5848 GB, free: 29.28 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003573/0.501, allocations: 183.8 kB / 0.585 GB, free: 29.19 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.679e-05/0.5011, allocations: 344.7 kB / 0.5853 GB, free: 28.87 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/0.5025, allocations: 0.6504 MB / 0.5859 GB, free: 28.63 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/0.504, allocations: 0.7791 MB / 0.5867 GB, free: 28.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01839/0.5224, allocations: 4.498 MB / 0.5911 GB, free: 27.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/0.5224, allocations: 1.375 kB / 0.5911 GB, free: 27.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01496/0.5374, allocations: 4.11 MB / 0.5951 GB, free: 26.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.925e-05/0.5375, allocations: 6.688 kB / 0.5951 GB, free: 26.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.5375, allocations: 3.906 kB / 0.5951 GB, free: 26.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006901/0.5444, allocations: 1.794 MB / 0.5969 GB, free: 25.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009557/0.5454, allocations: 166.6 kB / 0.597 GB, free: 25.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02232/0.5677, allocations: 8.575 MB / 0.6054 GB, free: 21.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.5694, allocations: 159.1 kB / 0.6056 GB, free: 21.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002587/0.5697, allocations: 43.95 kB / 0.6056 GB, free: 21.64 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.delta:VARIABLE(flow=false start = order31.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 (95): * Single equations (assignments): 94 * 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.0007177/0.5704, allocations: 227.3 kB / 0.6058 GB, free: 21.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004059/0.5708, allocations: 101.3 kB / 0.6059 GB, free: 21.4 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01255/0.5834, allocations: 3.833 MB / 0.6097 GB, free: 19.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.184e-05/0.5835, allocations: 7.562 kB / 0.6097 GB, free: 19.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.5835, allocations: 1.344 kB / 0.6097 GB, free: 19.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.642e-05/0.5835, allocations: 5.766 kB / 0.6097 GB, free: 19.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01405/0.5976, allocations: 5.357 MB / 0.6149 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/0.5976, allocations: 0.625 kB / 0.6149 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005659/0.5982, allocations: 87.89 kB / 0.615 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005423/0.6037, allocations: 1.745 MB / 0.6167 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001894/0.6039, allocations: 15.98 kB / 0.6167 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01556/0.6194, allocations: 7.357 MB / 0.6239 GB, free: 5.004 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.6195, allocations: 0.9375 kB / 0.6239 GB, free: 5.004 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01325/0.6328, allocations: 4.704 MB / 0.6285 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004085/0.6332, allocations: 187.7 kB / 0.6287 GB, free: 76 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003579/0.6336, allocations: 20 kB / 0.6287 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.6348, allocations: 83.89 kB / 0.6288 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007775/0.6356, allocations: 205.8 kB / 0.629 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/0.6357, allocations: 16 kB / 0.629 GB, free: 15.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008805/0.6366, allocations: 0.5461 MB / 0.6295 GB, free: 15.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6367, allocations: 0 / 0.6295 GB, free: 15.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001957/0.6386, allocations: 403.6 kB / 0.6299 GB, free: 14.8 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 (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.01491/0.6535, allocations: 5.287 MB / 0.6351 GB, free: 9.477 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008519/0.6621, allocations: 2.284 MB / 0.6373 GB, free: 7.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.6622, allocations: 4.188 kB / 0.6373 GB, free: 7.176 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005489/0.6677, allocations: 1.464 MB / 0.6387 GB, free: 5.703 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/0.6699, allocations: 79.97 kB / 0.6388 GB, free: 5.625 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04071/0.7106, allocations: 14.94 MB / 0.6534 GB, free: 6.383 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007522/0.7114, allocations: 1.033 MB / 0.6544 GB, free: 5.324 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004679/0.7119, allocations: 76.44 kB / 0.6545 GB, free: 5.25 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000634/0.7126, allocations: 363.3 kB / 0.6548 GB, free: 4.895 MB / 462.1 MB Notification: Performance of SimCode: time 9.41e-07/0.7126, allocations: 0 / 0.6548 GB, free: 4.895 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05211/0.7647, allocations: 28.32 MB / 0.6825 GB, free: 8.906 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/0.7649, allocations: 212.5 kB / 0.6827 GB, free: 8.652 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.672/3.437, allocations: 0 / 0.6827 GB, free: 8.652 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/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)