Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.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.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",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.0008905/0.0008907, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.43/1.43, allocations: 223.3 MB / 239.4 MB, free: 5.531 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.001008/0.001008, allocations: 168.5 kB / 290.6 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5474/0.5474, allocations: 91.94 MB / 433.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004472/0.0004474, allocations: 12 kB / 0.5049 GB, free: 7.18 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.3902, allocations: 72.45 MB / 0.5756 GB, free: 36.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.004685/0.395, allocations: 5.113 MB / 0.5806 GB, free: 33.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002828/0.3978, allocations: 1.664 MB / 0.5823 GB, free: 32.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003829/0.3982, allocations: 16.41 kB / 0.5823 GB, free: 32.16 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003859/0.3986, allocations: 142.7 kB / 0.5824 GB, free: 32.1 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.3999, allocations: 0.5442 MB / 0.5829 GB, free: 31.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008762/0.4007, allocations: 482.6 kB / 0.5834 GB, free: 31.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008447/0.4016, allocations: 1.031 MB / 0.5844 GB, free: 30.99 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003258/0.4019, allocations: 227.8 kB / 0.5846 GB, free: 30.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004063/0.4024, allocations: 410.2 kB / 0.585 GB, free: 30.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005141/0.4029, allocations: 0.5464 MB / 0.5855 GB, free: 30.46 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.678e-05/0.403, allocations: 42.66 kB / 0.5856 GB, free: 30.46 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003238/0.4033, allocations: 171.5 kB / 0.5857 GB, free: 30.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.4035, allocations: 186.3 kB / 0.5859 GB, free: 30.31 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003296/0.4038, allocations: 480.8 kB / 0.5864 GB, free: 29.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008491/0.4047, allocations: 1.151 MB / 0.5875 GB, free: 29.54 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.4047, allocations: 0 / 0.5875 GB, free: 29.54 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4047, allocations: 2.812 kB / 0.5875 GB, free: 29.54 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.4047, allocations: 0 / 0.5875 GB, free: 29.54 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.006173/0.4109, allocations: 1.996 MB / 0.5895 GB, free: 28.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.4109, allocations: 12.28 kB / 0.5895 GB, free: 28.64 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001522/0.4111, allocations: 104.6 kB / 0.5896 GB, free: 28.56 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004306/0.4154, allocations: 0.6471 MB / 0.5902 GB, free: 28.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009033/0.4163, allocations: 0.6612 MB / 0.5908 GB, free: 27.95 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000183/0.4165, allocations: 181 kB / 0.591 GB, free: 27.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/0.4167, allocations: 59.97 kB / 0.5911 GB, free: 27.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001934/0.4186, allocations: 0.9241 MB / 0.592 GB, free: 27.47 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.4186, allocations: 0 / 0.592 GB, free: 27.47 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.11e-05/0.4187, allocations: 25 kB / 0.592 GB, free: 27.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.4188, allocations: 19 kB / 0.592 GB, free: 27.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002029/0.4208, allocations: 0.972 MB / 0.593 GB, free: 27.16 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.004185/0.425, allocations: 2.478 MB / 0.5954 GB, free: 25.85 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.4267, allocations: 1.096 MB / 0.5965 GB, free: 25.18 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001456/0.4282, allocations: 0.7014 MB / 0.5971 GB, free: 24.93 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.715e-05/0.4283, allocations: 12.81 kB / 0.5972 GB, free: 24.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.4284, allocations: 41.59 kB / 0.5972 GB, free: 24.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=76): time 2.645e-06/0.4284, allocations: 1.375 kB / 0.5972 GB, free: 24.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=76): time 0.02762/0.456, allocations: 6.806 MB / 0.6038 GB, free: 23.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.4561, allocations: 63.55 kB / 0.6039 GB, free: 23.63 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.4573, allocations: 0.7631 MB / 0.6047 GB, free: 23.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001809/0.4575, allocations: 40.58 kB / 0.6047 GB, free: 23.26 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002682/0.4578, allocations: 391.6 kB / 0.6051 GB, free: 22.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002584/0.458, allocations: 281.6 kB / 0.6053 GB, free: 22.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.4582, allocations: 88.42 kB / 0.6054 GB, free: 22.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.434e-05/0.4583, allocations: 351.5 kB / 0.6058 GB, free: 22.35 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00153/0.4598, allocations: 0.6689 MB / 0.6064 GB, free: 22.13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00159/0.4614, allocations: 0.7753 MB / 0.6072 GB, free: 21.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003009/0.4644, allocations: 1.44 MB / 0.6086 GB, free: 21.22 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.4644, allocations: 0 / 0.6086 GB, free: 21.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01362/0.4781, allocations: 4.233 MB / 0.6127 GB, free: 20.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.4781, allocations: 6.406 kB / 0.6127 GB, free: 20.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.4782, allocations: 0.9375 kB / 0.6127 GB, free: 20.28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006083/0.4842, allocations: 1.701 MB / 0.6144 GB, free: 19.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.4853, allocations: 182.9 kB / 0.6145 GB, free: 19.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01731/0.5026, allocations: 7.995 MB / 0.6224 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.504, allocations: 179.1 kB / 0.6225 GB, free: 13.19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.552e-05/0.5041, allocations: 27.98 kB / 0.6226 GB, free: 13.16 MB / 430.1 MB Warning: Assuming fixed start value for the following 1 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (94): * Single equations (assignments): 93 * 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 {(19,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0003991/0.5045, allocations: 221.7 kB / 0.6228 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001391/0.5047, allocations: 98.72 kB / 0.6229 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01107/0.5157, allocations: 3.973 MB / 0.6267 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.5158, allocations: 8 kB / 0.6267 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.5158, allocations: 0 / 0.6267 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.352e-05/0.5158, allocations: 3.984 kB / 0.6267 GB, free: 8.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01255/0.5284, allocations: 5.282 MB / 0.6319 GB, free: 3.441 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.5284, allocations: 0 / 0.6319 GB, free: 3.441 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005822/0.529, allocations: 107.9 kB / 0.632 GB, free: 3.336 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004899/0.5339, allocations: 1.65 MB / 0.6336 GB, free: 1.684 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.631e-05/0.534, allocations: 15.94 kB / 0.6336 GB, free: 1.668 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0157/0.5497, allocations: 6.84 MB / 0.6403 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.5498, allocations: 0 / 0.6403 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01457/0.5644, allocations: 4.849 MB / 0.6451 GB, free: 5.801 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003884/0.5648, allocations: 183.8 kB / 0.6452 GB, free: 5.602 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.5649, allocations: 19.92 kB / 0.6452 GB, free: 5.582 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.5659, allocations: 123.8 kB / 0.6454 GB, free: 5.461 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005533/0.5665, allocations: 164.4 kB / 0.6455 GB, free: 5.301 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.104e-05/0.5666, allocations: 16 kB / 0.6455 GB, free: 5.285 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000688/0.5673, allocations: 0.5146 MB / 0.646 GB, free: 4.773 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5673, allocations: 0 / 0.646 GB, free: 4.773 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001154/0.5684, allocations: 351.7 kB / 0.6464 GB, free: 4.43 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 (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 {(20,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01502/0.5835, allocations: 5.429 MB / 0.6517 GB, free: 14.97 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006587/0.5901, allocations: 2.28 MB / 0.6539 GB, free: 12.68 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5901, allocations: 4.062 kB / 0.6539 GB, free: 12.68 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004436/0.5946, allocations: 1.443 MB / 0.6553 GB, free: 11.21 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009664/0.5956, allocations: 73.28 kB / 0.6554 GB, free: 11.15 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03752/0.6331, allocations: 14.99 MB / 0.67 GB, free: 11.87 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007894/0.6339, allocations: 1.009 MB / 0.671 GB, free: 10.84 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0005012/0.6345, allocations: 93.45 kB / 0.6711 GB, free: 10.74 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005611/0.635, allocations: 335.3 kB / 0.6714 GB, free: 10.41 MB / 478.1 MB Notification: Performance of SimCode: time 1.192e-06/0.6351, allocations: 0 / 0.6714 GB, free: 10.41 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05053/0.6856, allocations: 24.57 MB / 0.6954 GB, free: 2.016 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/0.6858, allocations: 211.5 kB / 0.6956 GB, free: 1.762 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.769/3.455, allocations: 0 / 0.6956 GB, free: 1.762 MB / 494.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ.fmu > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1)