Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestZip.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.LoadTestZip,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestZip",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestZip,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestZip",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.001112/0.001112, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 239.2 MB, free: 4.59 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.001427/0.001427, allocations: 192.5 kB / 289.6 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5048/0.5048, allocations: 91.9 MB / 431.6 MB, free: 9.23 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 87.86 kB / 0.502 GB, free: 7.594 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3255, allocations: 71.26 MB / 0.5716 GB, free: 36.8 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestZip): time 0.005254/0.3308, allocations: 5.341 MB / 0.5768 GB, free: 33.83 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002894/0.3337, allocations: 1.62 MB / 0.5784 GB, free: 32.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004009/0.3341, allocations: 8.719 kB / 0.5784 GB, free: 32.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000438/0.3346, allocations: 180.2 kB / 0.5786 GB, free: 32.67 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.336, allocations: 0.6387 MB / 0.5792 GB, free: 32.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008991/0.3369, allocations: 0.4885 MB / 0.5797 GB, free: 32.01 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008094/0.3377, allocations: 1.069 MB / 0.5807 GB, free: 31.47 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003444/0.3381, allocations: 271.2 kB / 0.581 GB, free: 31.35 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004348/0.3386, allocations: 456.2 kB / 0.5814 GB, free: 31.13 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005219/0.3391, allocations: 0.6049 MB / 0.582 GB, free: 30.84 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.3392, allocations: 80.47 kB / 0.5821 GB, free: 30.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003632/0.3396, allocations: 223 kB / 0.5823 GB, free: 30.8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001594/0.3398, allocations: 232.4 kB / 0.5825 GB, free: 30.65 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003119/0.3401, allocations: 0.4996 MB / 0.583 GB, free: 30.31 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008664/0.341, allocations: 1.232 MB / 0.5842 GB, free: 29.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.341, allocations: 3.938 kB / 0.5842 GB, free: 29.74 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.341, allocations: 3.094 kB / 0.5842 GB, free: 29.74 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.341, allocations: 0 / 0.5842 GB, free: 29.74 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.006665/0.3477, allocations: 2.141 MB / 0.5863 GB, free: 28.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/0.3477, allocations: 9.188 kB / 0.5863 GB, free: 28.73 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001342/0.3479, allocations: 103.7 kB / 0.5864 GB, free: 28.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004108/0.352, allocations: 0.6487 MB / 0.587 GB, free: 28.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008839/0.3529, allocations: 0.6488 MB / 0.5877 GB, free: 28.05 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/0.3531, allocations: 185 kB / 0.5878 GB, free: 27.89 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.3532, allocations: 63.84 kB / 0.5879 GB, free: 27.87 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.3549, allocations: 0.8636 MB / 0.5887 GB, free: 27.56 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.355, allocations: 0 / 0.5887 GB, free: 27.56 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.696e-05/0.3551, allocations: 32.11 kB / 0.5888 GB, free: 27.54 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.3551, allocations: 18.5 kB / 0.5888 GB, free: 27.53 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.3569, allocations: 0.8968 MB / 0.5897 GB, free: 27.25 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.003951/0.3609, allocations: 2.447 MB / 0.5921 GB, free: 25.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.3624, allocations: 1.051 MB / 0.5931 GB, free: 25.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/0.3637, allocations: 0.6425 MB / 0.5937 GB, free: 25.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.226e-05/0.3637, allocations: 12.83 kB / 0.5937 GB, free: 25.01 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.3638, allocations: 42.56 kB / 0.5938 GB, free: 24.96 MB / 430.1 MB Notification: Performance of pre-optimization done (n=79): time 2.755e-06/0.3638, allocations: 1.562 kB / 0.5938 GB, free: 24.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=79): time 0.02115/0.3849, allocations: 5.313 MB / 0.5989 GB, free: 23.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.385, allocations: 60.56 kB / 0.599 GB, free: 23.85 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.386, allocations: 0.7564 MB / 0.5997 GB, free: 23.52 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001883/0.3862, allocations: 43.61 kB / 0.5998 GB, free: 23.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.3865, allocations: 398.3 kB / 0.6002 GB, free: 23.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002572/0.3867, allocations: 281.3 kB / 0.6004 GB, free: 22.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003284/0.3871, allocations: 175.5 kB / 0.6006 GB, free: 22.86 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.025e-05/0.3871, allocations: 344.1 kB / 0.6009 GB, free: 22.54 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/0.3885, allocations: 0.605 MB / 0.6015 GB, free: 22.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/0.3899, allocations: 0.7164 MB / 0.6022 GB, free: 22.01 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002824/0.3927, allocations: 1.317 MB / 0.6035 GB, free: 21.43 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-06/0.3927, allocations: 1.375 kB / 0.6035 GB, free: 21.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01229/0.405, allocations: 3.568 MB / 0.607 GB, free: 20.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/0.4051, allocations: 11.83 kB / 0.607 GB, free: 20.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.4051, allocations: 1.562 kB / 0.607 GB, free: 20.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005916/0.411, allocations: 1.506 MB / 0.6085 GB, free: 20.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009671/0.412, allocations: 172.1 kB / 0.6086 GB, free: 20.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01874/0.4308, allocations: 8.218 MB / 0.6167 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001455/0.4323, allocations: 136.8 kB / 0.6168 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-05/0.4324, allocations: 39.86 kB / 0.6168 GB, free: 15.67 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 (91): * Single equations (assignments): 90 * 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,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004062/0.4328, allocations: 223.2 kB / 0.617 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/0.433, allocations: 95.62 kB / 0.6171 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/0.4433, allocations: 3.297 MB / 0.6204 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.4433, allocations: 15.94 kB / 0.6204 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.4433, allocations: 0 / 0.6204 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.616e-05/0.4434, allocations: 3.984 kB / 0.6204 GB, free: 12.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 postOpt removeSimpleEquations (simulation): time 0.01182/0.4552, allocations: 4.63 MB / 0.6249 GB, free: 7.367 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/0.4552, allocations: 0 / 0.6249 GB, free: 7.367 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005531/0.4558, allocations: 99.88 kB / 0.625 GB, free: 7.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004946/0.4608, allocations: 1.466 MB / 0.6264 GB, free: 5.801 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001492/0.4609, allocations: 16 kB / 0.6264 GB, free: 5.785 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01997/0.4809, allocations: 7.107 MB / 0.6334 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.481, allocations: 4 kB / 0.6334 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01833/0.4993, allocations: 4.124 MB / 0.6374 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000489/0.4998, allocations: 175.7 kB / 0.6376 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002832/0.5001, allocations: 16 kB / 0.6376 GB, free: 10.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/0.5016, allocations: 91.83 kB / 0.6377 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008226/0.5024, allocations: 168.4 kB / 0.6378 GB, free: 9.922 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001021/0.5025, allocations: 19.98 kB / 0.6379 GB, free: 9.902 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009871/0.5035, allocations: 0.5146 MB / 0.6384 GB, free: 9.391 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5035, allocations: 0 / 0.6384 GB, free: 9.391 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001715/0.5053, allocations: 363.7 kB / 0.6387 GB, free: 9.035 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 (48): * Single equations (assignments): 47 * 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,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02426/0.5295, allocations: 4.696 MB / 0.6433 GB, free: 4.301 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01093/0.5405, allocations: 2.131 MB / 0.6454 GB, free: 2.148 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.5406, allocations: 0 / 0.6454 GB, free: 2.148 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006546/0.5471, allocations: 1.315 MB / 0.6467 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.5485, allocations: 75.3 kB / 0.6467 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03723/0.5857, allocations: 13.35 MB / 0.6598 GB, free: 3.098 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006577/0.5864, allocations: 1.013 MB / 0.6608 GB, free: 2.051 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004/0.5868, allocations: 93.42 kB / 0.6609 GB, free: 1.961 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004742/0.5873, allocations: 351.3 kB / 0.6612 GB, free: 1.617 MB / 462.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5873, allocations: 0 / 0.6612 GB, free: 1.617 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07712/0.6645, allocations: 28.28 MB / 0.6888 GB, free: 5.48 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.99, allocations: 4.297 kB / 0.6888 GB, free: 5.477 MB / 494.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestZip.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestZip.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestZip.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestZip.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestZip_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.03 OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestZip.fmu > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestZip.pipe 2>&1)