Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestZipJimma.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.LoadTestZipJimma,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestZipJimma",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestZipJimma,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestZipJimma",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.133/0.133, allocations: 12.59 MB / 28.23 MB, free: 0.7695 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 115.4 kB / 31.84 MB, free: 3.902 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.313/1.313, allocations: 205.1 MB / 240.4 MB, free: 12.37 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.00131/0.00131, allocations: 183.3 kB / 290.7 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4237/0.4237, allocations: 78.52 MB / 419.3 MB, free: 11.26 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.002697/0.002697, allocations: 143.1 kB / 0.5554 GB, free: 28.71 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1042, allocations: 68.13 MB / 0.6219 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestZipJimma): time 0.006257/0.1105, allocations: 5.379 MB / 0.6272 GB, free: 10.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003488/0.114, allocations: 1.603 MB / 0.6287 GB, free: 8.898 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009064/0.115, allocations: 8 kB / 0.6287 GB, free: 8.891 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007645/0.1158, allocations: 182.4 kB / 0.6289 GB, free: 8.711 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002055/0.1179, allocations: 0.6826 MB / 0.6296 GB, free: 8.027 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001138/0.119, allocations: 0.4947 MB / 0.6301 GB, free: 7.539 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001338/0.1204, allocations: 1.098 MB / 0.6311 GB, free: 6.438 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004264/0.1208, allocations: 258.8 kB / 0.6314 GB, free: 6.172 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006339/0.1215, allocations: 462 kB / 0.6318 GB, free: 5.719 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008295/0.1223, allocations: 0.6183 MB / 0.6324 GB, free: 5.098 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002448/0.1226, allocations: 84 kB / 0.6325 GB, free: 5.016 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005345/0.1231, allocations: 215.9 kB / 0.6327 GB, free: 4.805 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002861/0.1234, allocations: 243 kB / 0.633 GB, free: 4.566 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006161/0.124, allocations: 0.5047 MB / 0.6334 GB, free: 4.059 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001639/0.1257, allocations: 1.276 MB / 0.6347 GB, free: 2.777 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1257, allocations: 0 / 0.6347 GB, free: 2.777 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1257, allocations: 0 / 0.6347 GB, free: 2.777 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.744e-05/0.1257, allocations: 0 / 0.6347 GB, free: 2.777 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.007149/0.1329, allocations: 2.196 MB / 0.6368 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.133, allocations: 15.92 kB / 0.6369 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001739/0.1331, allocations: 110.7 kB / 0.637 GB, free: 404 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004292/0.1374, allocations: 0.6513 MB / 0.6376 GB, free: 15.74 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/0.1385, allocations: 0.6629 MB / 0.6382 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000194/0.1387, allocations: 176.1 kB / 0.6384 GB, free: 14.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.1388, allocations: 71.88 kB / 0.6385 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001902/0.1407, allocations: 0.8653 MB / 0.6393 GB, free: 13.89 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.1408, allocations: 0 / 0.6393 GB, free: 13.89 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.988e-05/0.1409, allocations: 27.98 kB / 0.6393 GB, free: 13.87 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.1409, allocations: 19.94 kB / 0.6394 GB, free: 13.85 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002077/0.143, allocations: 0.9108 MB / 0.6403 GB, free: 12.94 MB / 462.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.004413/0.1474, allocations: 2.459 MB / 0.6427 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.1492, allocations: 1.092 MB / 0.6437 GB, free: 9.199 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/0.1506, allocations: 0.641 MB / 0.6444 GB, free: 8.559 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000104/0.1507, allocations: 24.64 kB / 0.6444 GB, free: 8.535 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.1507, allocations: 39.2 kB / 0.6444 GB, free: 8.488 MB / 462.1 MB Notification: Performance of pre-optimization done (n=81): time 2.124e-06/0.1508, allocations: 0 / 0.6444 GB, free: 8.488 MB / 462.1 MB Notification: Performance of matching and sorting (n=81): time 0.02372/0.1745, allocations: 5.796 MB / 0.6501 GB, free: 2.656 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/0.1746, allocations: 60.06 kB / 0.6501 GB, free: 2.586 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.1758, allocations: 0.767 MB / 0.6509 GB, free: 1.812 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002046/0.176, allocations: 41.7 kB / 0.6509 GB, free: 1.766 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003213/0.1764, allocations: 409.1 kB / 0.6513 GB, free: 1.359 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003686/0.1767, allocations: 301.4 kB / 0.6516 GB, free: 1.062 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004338/0.1772, allocations: 186.9 kB / 0.6518 GB, free: 0.875 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1773, allocations: 341.9 kB / 0.6521 GB, free: 0.5352 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001502/0.1788, allocations: 0.6156 MB / 0.6527 GB, free: 15.91 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001606/0.1804, allocations: 0.7232 MB / 0.6534 GB, free: 15.16 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0031/0.1836, allocations: 1.331 MB / 0.6547 GB, free: 13.81 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.1836, allocations: 4 kB / 0.6547 GB, free: 13.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.01253/0.1961, allocations: 3.649 MB / 0.6583 GB, free: 10.14 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.706e-05/0.1962, allocations: 6.969 kB / 0.6583 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.1962, allocations: 4 kB / 0.6583 GB, free: 10.14 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006141/0.2024, allocations: 1.536 MB / 0.6598 GB, free: 8.598 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008946/0.2033, allocations: 167.8 kB / 0.6599 GB, free: 8.434 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02035/0.2237, allocations: 8.414 MB / 0.6682 GB, free: 15.87 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.225, allocations: 147.4 kB / 0.6683 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001902/0.2252, allocations: 35.98 kB / 0.6683 GB, free: 15.69 MB / 494.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 (92): * Single equations (assignments): 91 * 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,18)} Notification: Performance of prepare postOptimizeDAE: time 0.0005134/0.2258, allocations: 221.7 kB / 0.6685 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002628/0.226, allocations: 99.34 kB / 0.6686 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01143/0.2375, allocations: 3.345 MB / 0.6719 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.2375, allocations: 8 kB / 0.6719 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2376, allocations: 4 kB / 0.6719 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.182e-05/0.2376, allocations: 3.984 kB / 0.6719 GB, free: 11.99 MB / 494.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.01394/0.2515, allocations: 4.683 MB / 0.6765 GB, free: 7.191 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.2516, allocations: 0 / 0.6765 GB, free: 7.191 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006167/0.2522, allocations: 95.88 kB / 0.6766 GB, free: 7.098 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005651/0.2579, allocations: 1.483 MB / 0.678 GB, free: 5.609 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001563/0.2581, allocations: 15.98 kB / 0.6781 GB, free: 5.594 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01777/0.2758, allocations: 7.187 MB / 0.6851 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.2759, allocations: 0 / 0.6851 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01373/0.2896, allocations: 4.19 MB / 0.6892 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002987/0.29, allocations: 188.3 kB / 0.6893 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/0.2902, allocations: 16 kB / 0.6894 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009764/0.2912, allocations: 87.91 kB / 0.6894 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006378/0.2918, allocations: 168.7 kB / 0.6896 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-05/0.2919, allocations: 24 kB / 0.6896 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008062/0.2928, allocations: 0.5185 MB / 0.6901 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2928, allocations: 0 / 0.6901 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001291/0.2941, allocations: 375.7 kB / 0.6905 GB, free: 8.672 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,zIPJimma.x) * 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,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0138/0.3079, allocations: 4.758 MB / 0.6951 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006223/0.3141, allocations: 2.14 MB / 0.6972 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.3142, allocations: 0 / 0.6972 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00413/0.3183, allocations: 1.345 MB / 0.6985 GB, free: 380 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007888/0.3191, allocations: 79.23 kB / 0.6986 GB, free: 296 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03451/0.3536, allocations: 13.15 MB / 0.7115 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000653/0.3543, allocations: 1.021 MB / 0.7125 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003895/0.3547, allocations: 93.62 kB / 0.7125 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005051/0.3553, allocations: 367.3 kB / 0.7129 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of SimCode: time 7.31e-07/0.3553, allocations: 0 / 0.7129 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2958/0.6511, allocations: 29.17 MB / 0.7414 GB, free: 77.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.72/15.37, allocations: 10.62 kB / 0.7414 GB, free: 77.66 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestZipJimma.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestZipJimma.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestZipJimma.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestZipJimma.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestZipJimma_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_LoadTestZipJimma.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestZipJimma.pipe 2>&1)