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.005252/0.005252, allocations: 99 kB / 15.73 MB, free: 6.441 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.388/1.388, allocations: 222.9 MB / 239.4 MB, free: 4.527 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.001433/0.001433, allocations: 196.5 kB / 289.7 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5304/0.5304, allocations: 91.9 MB / 431.8 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002253/0.002253, allocations: 78.31 kB / 0.5723 GB, free: 33.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1196, allocations: 71.29 MB / 0.6419 GB, free: 4.086 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestZip): time 0.006917/0.1265, allocations: 5.331 MB / 0.6471 GB, free: 14.73 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003323/0.1299, allocations: 1.622 MB / 0.6487 GB, free: 13.1 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006104/0.1305, allocations: 8 kB / 0.6487 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006259/0.1312, allocations: 186.3 kB / 0.6488 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00192/0.1332, allocations: 0.6456 MB / 0.6495 GB, free: 12.27 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.1344, allocations: 492.2 kB / 0.6499 GB, free: 11.79 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001546/0.1359, allocations: 1.067 MB / 0.651 GB, free: 10.72 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004405/0.1364, allocations: 258.7 kB / 0.6512 GB, free: 10.45 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006247/0.137, allocations: 466 kB / 0.6517 GB, free: 9.996 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007324/0.1377, allocations: 0.5989 MB / 0.6523 GB, free: 9.395 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000137/0.1379, allocations: 88 kB / 0.6523 GB, free: 9.309 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000439/0.1383, allocations: 219.8 kB / 0.6526 GB, free: 9.094 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002264/0.1386, allocations: 235 kB / 0.6528 GB, free: 8.863 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004407/0.139, allocations: 0.5009 MB / 0.6533 GB, free: 8.359 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.1405, allocations: 1.252 MB / 0.6545 GB, free: 7.102 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1405, allocations: 3.938 kB / 0.6545 GB, free: 7.098 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1405, allocations: 0 / 0.6545 GB, free: 7.098 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.531e-05/0.1406, allocations: 0 / 0.6545 GB, free: 7.098 MB / 462.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.006987/0.1475, allocations: 2.188 MB / 0.6566 GB, free: 4.855 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1476, allocations: 8.031 kB / 0.6566 GB, free: 4.848 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001566/0.1478, allocations: 106.7 kB / 0.6567 GB, free: 4.734 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004058/0.1518, allocations: 0.6552 MB / 0.6574 GB, free: 4.078 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/0.1528, allocations: 0.6589 MB / 0.658 GB, free: 3.379 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000213/0.1531, allocations: 172.1 kB / 0.6582 GB, free: 3.184 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.1532, allocations: 64 kB / 0.6583 GB, free: 3.121 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.1551, allocations: 0.8614 MB / 0.6591 GB, free: 2.254 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.1551, allocations: 0 / 0.6591 GB, free: 2.254 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.465e-05/0.1552, allocations: 24 kB / 0.6591 GB, free: 2.23 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.792e-05/0.1552, allocations: 19.94 kB / 0.6591 GB, free: 2.211 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001972/0.1572, allocations: 0.9069 MB / 0.66 GB, free: 1.305 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.00454/0.1617, allocations: 2.436 MB / 0.6624 GB, free: 14.76 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/0.1635, allocations: 1.051 MB / 0.6634 GB, free: 13.63 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001295/0.1648, allocations: 0.6474 MB / 0.6641 GB, free: 12.98 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.499e-05/0.1649, allocations: 12.64 kB / 0.6641 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.1649, allocations: 47.22 kB / 0.6641 GB, free: 12.91 MB / 478.1 MB Notification: Performance of pre-optimization done (n=79): time 2.665e-06/0.1649, allocations: 0 / 0.6641 GB, free: 12.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=79): time 0.02092/0.1859, allocations: 5.306 MB / 0.6693 GB, free: 7.57 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.186, allocations: 64.06 kB / 0.6694 GB, free: 7.496 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.187, allocations: 0.7592 MB / 0.6701 GB, free: 6.723 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001583/0.1872, allocations: 37.7 kB / 0.6701 GB, free: 6.68 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000324/0.1875, allocations: 401.2 kB / 0.6705 GB, free: 6.281 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003264/0.1879, allocations: 301.4 kB / 0.6708 GB, free: 5.984 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003621/0.1882, allocations: 178.6 kB / 0.671 GB, free: 5.801 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.1884, allocations: 341.9 kB / 0.6713 GB, free: 5.461 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/0.1898, allocations: 0.6071 MB / 0.6719 GB, free: 4.855 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/0.1912, allocations: 0.7162 MB / 0.6726 GB, free: 4.113 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002803/0.194, allocations: 1.319 MB / 0.6739 GB, free: 2.766 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.194, allocations: 0 / 0.6739 GB, free: 2.766 MB / 478.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01165/0.2057, allocations: 3.568 MB / 0.6774 GB, free: 15.19 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.2057, allocations: 8 kB / 0.6774 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.2057, allocations: 0 / 0.6774 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005532/0.2113, allocations: 1.515 MB / 0.6789 GB, free: 13.66 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008992/0.2122, allocations: 171.7 kB / 0.679 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01893/0.2311, allocations: 8.215 MB / 0.687 GB, free: 5.129 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.2324, allocations: 143.5 kB / 0.6872 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.2325, allocations: 35.98 kB / 0.6872 GB, free: 4.953 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 (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.0004245/0.233, allocations: 227.9 kB / 0.6874 GB, free: 4.723 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001846/0.2332, allocations: 99.34 kB / 0.6875 GB, free: 4.625 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01105/0.2442, allocations: 3.298 MB / 0.6907 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.2443, allocations: 11.94 kB / 0.6908 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.2443, allocations: 4 kB / 0.6908 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.592e-05/0.2443, allocations: 7.922 kB / 0.6908 GB, free: 1.289 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.01309/0.2574, allocations: 4.629 MB / 0.6953 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/0.2574, allocations: 0 / 0.6953 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005794/0.258, allocations: 95.88 kB / 0.6954 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005159/0.2632, allocations: 1.466 MB / 0.6968 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001153/0.2633, allocations: 16 kB / 0.6968 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0165/0.2799, allocations: 7.097 MB / 0.7038 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2799, allocations: 0 / 0.7038 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01289/0.2928, allocations: 4.134 MB / 0.7078 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004223/0.2933, allocations: 188.3 kB / 0.708 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002811/0.2936, allocations: 12 kB / 0.708 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009946/0.2946, allocations: 83.84 kB / 0.7081 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006089/0.2952, allocations: 172.4 kB / 0.7082 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.554e-05/0.2953, allocations: 23.92 kB / 0.7083 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007577/0.2961, allocations: 0.5146 MB / 0.7088 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2961, allocations: 0 / 0.7088 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001288/0.2974, allocations: 375.7 kB / 0.7091 GB, free: 14.21 MB / 0.5137 GB 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.01313/0.3105, allocations: 4.699 MB / 0.7137 GB, free: 9.473 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005915/0.3165, allocations: 2.095 MB / 0.7157 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.3165, allocations: 0 / 0.7157 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003962/0.3205, allocations: 1.311 MB / 0.717 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008455/0.3213, allocations: 79.3 kB / 0.7171 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03385/0.3552, allocations: 12.99 MB / 0.7298 GB, free: 8.793 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008401/0.3561, allocations: 1.017 MB / 0.7308 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004873/0.3566, allocations: 93.47 kB / 0.7309 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006111/0.3572, allocations: 343.3 kB / 0.7312 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of SimCode: time 5.22e-06/0.3572, allocations: 0 / 0.7312 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07217/0.4294, allocations: 28.63 MB / 0.7592 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.95/15.37, allocations: 5.75 kB / 0.7592 GB, free: 10.8 MB / 0.5606 GB (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)