Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestZip.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestZip,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestZip",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestZip,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestZip",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09529/0.09529, allocations: 12.6 MB / 28.1 MB, free: 248 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 107.5 kB / 31.7 MB, free: 3.492 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.346/1.346, allocations: 205.1 MB / 240.3 MB, free: 12.44 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.001329/0.00133, allocations: 188.5 kB / 290.5 MB, free: 13.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4315/0.4315, allocations: 78.51 MB / 419.2 MB, free: 11.37 MB / 302.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.003004/0.003005, allocations: 135.8 kB / 499.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3406, allocations: 68.1 MB / 0.5547 GB, free: 32.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestZip): time 0.005643/0.3463, allocations: 5.35 MB / 0.5599 GB, free: 28.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002981/0.3493, allocations: 1.591 MB / 0.5615 GB, free: 27.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003936/0.3497, allocations: 8.75 kB / 0.5615 GB, free: 27.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004833/0.3502, allocations: 189.6 kB / 0.5616 GB, free: 27.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.3517, allocations: 0.639 MB / 0.5623 GB, free: 26.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009619/0.3526, allocations: 499.2 kB / 0.5627 GB, free: 26.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009046/0.3536, allocations: 1.07 MB / 0.5638 GB, free: 25.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003787/0.3539, allocations: 253 kB / 0.564 GB, free: 25.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004496/0.3544, allocations: 465.8 kB / 0.5645 GB, free: 25.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005491/0.355, allocations: 0.6047 MB / 0.5651 GB, free: 25.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.3551, allocations: 86 kB / 0.5651 GB, free: 25.05 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004417/0.3556, allocations: 216.7 kB / 0.5654 GB, free: 24.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.3557, allocations: 239.3 kB / 0.5656 GB, free: 24.79 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003235/0.3561, allocations: 0.5016 MB / 0.5661 GB, free: 24.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000947/0.357, allocations: 1.223 MB / 0.5673 GB, free: 23.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.357, allocations: 0 / 0.5673 GB, free: 23.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.357, allocations: 1.219 kB / 0.5673 GB, free: 23.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.3571, allocations: 0 / 0.5673 GB, free: 23.5 MB / 398.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.006405/0.3635, allocations: 2.154 MB / 0.5694 GB, free: 22.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.3635, allocations: 13.7 kB / 0.5694 GB, free: 22.14 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001312/0.3637, allocations: 107.6 kB / 0.5695 GB, free: 22.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004022/0.3677, allocations: 0.6461 MB / 0.5701 GB, free: 21.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008428/0.3685, allocations: 0.6492 MB / 0.5708 GB, free: 21.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/0.3687, allocations: 179.3 kB / 0.5709 GB, free: 21.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.3688, allocations: 59.62 kB / 0.571 GB, free: 21.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.3705, allocations: 0.8675 MB / 0.5718 GB, free: 20.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.3706, allocations: 4 kB / 0.5718 GB, free: 20.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.418e-05/0.3706, allocations: 20.62 kB / 0.5719 GB, free: 20.53 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.3707, allocations: 18.19 kB / 0.5719 GB, free: 20.53 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001869/0.3725, allocations: 0.9027 MB / 0.5728 GB, free: 20.1 MB / 398.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.003804/0.3764, allocations: 2.45 MB / 0.5751 GB, free: 18.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.3778, allocations: 1.047 MB / 0.5762 GB, free: 17.19 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.3789, allocations: 0.6435 MB / 0.5768 GB, free: 16.55 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.99e-05/0.379, allocations: 12.64 kB / 0.5768 GB, free: 16.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.379, allocations: 39.22 kB / 0.5768 GB, free: 16.49 MB / 398.1 MB Notification: Performance of pre-optimization done (n=79): time 2.494e-06/0.379, allocations: 0 / 0.5768 GB, free: 16.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=79): time 0.01922/0.3982, allocations: 5.313 MB / 0.582 GB, free: 11.14 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.3983, allocations: 64 kB / 0.5821 GB, free: 11.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008337/0.3991, allocations: 0.7591 MB / 0.5828 GB, free: 10.3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.232e-05/0.3992, allocations: 37.7 kB / 0.5829 GB, free: 10.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000204/0.3994, allocations: 396.6 kB / 0.5832 GB, free: 9.859 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002321/0.3997, allocations: 284 kB / 0.5835 GB, free: 9.578 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002977/0.4, allocations: 182.5 kB / 0.5837 GB, free: 9.395 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.853e-05/0.4001, allocations: 341.9 kB / 0.584 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00115/0.4012, allocations: 0.6071 MB / 0.5846 GB, free: 8.445 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/0.4024, allocations: 0.7124 MB / 0.5853 GB, free: 7.707 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002392/0.4048, allocations: 1.323 MB / 0.5866 GB, free: 6.363 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.4048, allocations: 0 / 0.5866 GB, free: 6.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01074/0.4156, allocations: 3.563 MB / 0.5901 GB, free: 2.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.4156, allocations: 8 kB / 0.5901 GB, free: 2.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.4157, allocations: 3.938 kB / 0.5901 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005092/0.4208, allocations: 1.531 MB / 0.5916 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008064/0.4216, allocations: 159.8 kB / 0.5917 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01873/0.4403, allocations: 8.218 MB / 0.5998 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.4419, allocations: 143.1 kB / 0.5999 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.545e-05/0.442, allocations: 31.98 kB / 0.5999 GB, free: 8.547 MB / 414.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.0005125/0.4425, allocations: 228.4 kB / 0.6001 GB, free: 8.316 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/0.4427, allocations: 106.8 kB / 0.6003 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01126/0.454, allocations: 3.302 MB / 0.6035 GB, free: 4.891 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/0.4541, allocations: 11.94 kB / 0.6035 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4541, allocations: 0 / 0.6035 GB, free: 4.879 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.133e-05/0.4541, allocations: 3.984 kB / 0.6035 GB, free: 4.875 MB / 414.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.01343/0.4675, allocations: 4.626 MB / 0.608 GB, free: 140 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/0.4676, allocations: 0 / 0.608 GB, free: 140 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006192/0.4682, allocations: 91.81 kB / 0.6081 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005578/0.4738, allocations: 1.473 MB / 0.6095 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001448/0.474, allocations: 12 kB / 0.6095 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01717/0.4912, allocations: 7.096 MB / 0.6165 GB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4912, allocations: 0 / 0.6165 GB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01333/0.5046, allocations: 4.132 MB / 0.6205 GB, free: 3.16 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004677/0.5051, allocations: 183.7 kB / 0.6207 GB, free: 2.961 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003344/0.5054, allocations: 12 kB / 0.6207 GB, free: 2.949 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.5065, allocations: 83.84 kB / 0.6208 GB, free: 2.867 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006113/0.5072, allocations: 172.4 kB / 0.6209 GB, free: 2.699 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/0.5073, allocations: 23.98 kB / 0.621 GB, free: 2.676 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009545/0.5082, allocations: 0.5146 MB / 0.6215 GB, free: 2.164 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5083, allocations: 0 / 0.6215 GB, free: 2.164 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001443/0.5097, allocations: 367.6 kB / 0.6218 GB, free: 1.805 MB / 430.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.01363/0.5233, allocations: 4.692 MB / 0.6264 GB, free: 13.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006292/0.5297, allocations: 2.127 MB / 0.6285 GB, free: 10.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.5297, allocations: 0 / 0.6285 GB, free: 10.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004062/0.5338, allocations: 1.313 MB / 0.6298 GB, free: 9.617 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.5349, allocations: 75.3 kB / 0.6298 GB, free: 9.547 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03502/0.5699, allocations: 13.36 MB / 0.6429 GB, free: 11.89 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007779/0.5708, allocations: 1.021 MB / 0.6439 GB, free: 10.84 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000495/0.5713, allocations: 89.53 kB / 0.644 GB, free: 10.75 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000579/0.5719, allocations: 343.3 kB / 0.6443 GB, free: 10.41 MB / 462.1 MB Notification: Performance of SimCode: time 8.52e-07/0.5719, allocations: 0 / 0.6443 GB, free: 10.41 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06395/0.6358, allocations: 28.29 MB / 0.6719 GB, free: 14.18 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.28, allocations: 7.656 kB / 0.6719 GB, free: 14.18 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestZip.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestZip.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestZip.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestZip.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestZip.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestZip.pipe 2>&1)