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.006095/0.006095, allocations: 104.3 kB / 15.73 MB, free: 5.953 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.372/1.372, allocations: 222.9 MB / 239.4 MB, free: 4.512 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.001552/0.001552, allocations: 184.5 kB / 289.7 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5031/0.5031, allocations: 91.9 MB / 431.8 MB, free: 9.152 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 80.72 kB / 0.5723 GB, free: 33.61 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1209, allocations: 71.28 MB / 0.6419 GB, free: 4.078 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestZip): time 0.00624/0.1272, allocations: 5.333 MB / 0.6471 GB, free: 14.72 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003224/0.1305, allocations: 1.618 MB / 0.6487 GB, free: 13.1 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006729/0.1312, allocations: 8 kB / 0.6487 GB, free: 13.09 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006273/0.1318, allocations: 182.4 kB / 0.6488 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001908/0.1337, allocations: 0.689 MB / 0.6495 GB, free: 12.22 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.1349, allocations: 496.2 kB / 0.65 GB, free: 11.74 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001291/0.1362, allocations: 1.067 MB / 0.651 GB, free: 10.67 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004236/0.1366, allocations: 266.7 kB / 0.6513 GB, free: 10.4 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006376/0.1373, allocations: 466 kB / 0.6517 GB, free: 9.941 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007455/0.138, allocations: 0.6028 MB / 0.6523 GB, free: 9.336 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000199/0.1382, allocations: 80 kB / 0.6524 GB, free: 9.258 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004705/0.1387, allocations: 211.9 kB / 0.6526 GB, free: 9.051 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002256/0.1389, allocations: 239 kB / 0.6528 GB, free: 8.816 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004734/0.1394, allocations: 0.5048 MB / 0.6533 GB, free: 8.309 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001364/0.1408, allocations: 1.252 MB / 0.6545 GB, free: 7.051 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1408, allocations: 0 / 0.6545 GB, free: 7.051 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1408, allocations: 0 / 0.6545 GB, free: 7.051 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.952e-05/0.1408, allocations: 0 / 0.6545 GB, free: 7.051 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.006942/0.1478, allocations: 2.184 MB / 0.6567 GB, free: 4.812 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.1478, allocations: 12.03 kB / 0.6567 GB, free: 4.801 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001453/0.148, allocations: 110.6 kB / 0.6568 GB, free: 4.684 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00411/0.1521, allocations: 0.6513 MB / 0.6574 GB, free: 4.031 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009775/0.1531, allocations: 0.6551 MB / 0.6581 GB, free: 3.336 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001978/0.1533, allocations: 184 kB / 0.6582 GB, free: 3.129 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.1535, allocations: 60 kB / 0.6583 GB, free: 3.07 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001725/0.1552, allocations: 0.8575 MB / 0.6591 GB, free: 2.207 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.1552, allocations: 4 kB / 0.6591 GB, free: 2.203 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.331e-05/0.1553, allocations: 28 kB / 0.6592 GB, free: 2.176 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.1553, allocations: 15.94 kB / 0.6592 GB, free: 2.16 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/0.1572, allocations: 0.8991 MB / 0.6601 GB, free: 1.262 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.004094/0.1613, allocations: 2.432 MB / 0.6624 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/0.1629, allocations: 1.06 MB / 0.6635 GB, free: 13.58 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001246/0.1642, allocations: 0.6396 MB / 0.6641 GB, free: 12.93 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.866e-05/0.1643, allocations: 16.66 kB / 0.6641 GB, free: 12.92 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.1643, allocations: 39.22 kB / 0.6641 GB, free: 12.87 MB / 478.1 MB Notification: Performance of pre-optimization done (n=79): time 3.045e-06/0.1644, allocations: 0 / 0.6641 GB, free: 12.87 MB / 478.1 MB Notification: Performance of matching and sorting (n=79): time 0.02002/0.1844, allocations: 5.317 MB / 0.6693 GB, free: 7.52 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.1845, allocations: 64.05 kB / 0.6694 GB, free: 7.445 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009629/0.1854, allocations: 0.7553 MB / 0.6701 GB, free: 6.676 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001648/0.1856, allocations: 41.7 kB / 0.6702 GB, free: 6.629 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.1859, allocations: 393.2 kB / 0.6706 GB, free: 6.238 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002784/0.1862, allocations: 301.4 kB / 0.6708 GB, free: 5.941 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00033/0.1865, allocations: 178.6 kB / 0.671 GB, free: 5.758 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1866, allocations: 345.9 kB / 0.6713 GB, free: 5.414 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/0.1879, allocations: 0.6032 MB / 0.6719 GB, free: 4.812 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/0.1893, allocations: 0.7085 MB / 0.6726 GB, free: 4.078 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002676/0.192, allocations: 1.323 MB / 0.6739 GB, free: 2.727 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.192, allocations: 0 / 0.6739 GB, free: 2.727 MB / 478.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01149/0.2035, allocations: 3.575 MB / 0.6774 GB, free: 15.14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.378e-05/0.2036, allocations: 7.984 kB / 0.6774 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.2036, allocations: 4 kB / 0.6774 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005563/0.2091, allocations: 1.511 MB / 0.6789 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000877/0.2101, allocations: 159.8 kB / 0.679 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01832/0.2284, allocations: 8.229 MB / 0.6871 GB, free: 5.082 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.2296, allocations: 143.5 kB / 0.6872 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.826e-05/0.2297, allocations: 35.98 kB / 0.6873 GB, free: 4.906 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.0003863/0.2301, allocations: 221.6 kB / 0.6875 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.2303, allocations: 103.3 kB / 0.6876 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/0.241, allocations: 3.302 MB / 0.6908 GB, free: 1.262 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/0.241, allocations: 15.92 kB / 0.6908 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.241, allocations: 0 / 0.6908 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.677e-05/0.2411, allocations: 3.984 kB / 0.6908 GB, free: 1.242 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.01263/0.2537, allocations: 4.629 MB / 0.6953 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.444e-05/0.2538, allocations: 0 / 0.6953 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000625/0.2544, allocations: 99.88 kB / 0.6954 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00518/0.2596, allocations: 1.458 MB / 0.6968 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/0.2597, allocations: 19.98 kB / 0.6969 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0156/0.2754, allocations: 7.094 MB / 0.7038 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.2754, allocations: 0 / 0.7038 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01268/0.2881, allocations: 4.134 MB / 0.7078 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004706/0.2886, allocations: 180.3 kB / 0.708 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/0.2888, allocations: 16 kB / 0.708 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008807/0.2897, allocations: 87.84 kB / 0.7081 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005205/0.2902, allocations: 176.3 kB / 0.7083 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.487e-05/0.2903, allocations: 16 kB / 0.7083 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006225/0.2909, allocations: 0.5185 MB / 0.7088 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.2909, allocations: 0 / 0.7088 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001146/0.2921, allocations: 367.7 kB / 0.7091 GB, free: 14.17 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.01268/0.3047, allocations: 4.703 MB / 0.7137 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005571/0.3103, allocations: 2.103 MB / 0.7158 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.3104, allocations: 0 / 0.7158 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003782/0.3142, allocations: 1.315 MB / 0.7171 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007022/0.3149, allocations: 75.31 kB / 0.7171 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03118/0.3461, allocations: 12.99 MB / 0.7298 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005194/0.3467, allocations: 1.013 MB / 0.7308 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003827/0.347, allocations: 93.53 kB / 0.7309 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004093/0.3475, allocations: 343.3 kB / 0.7312 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of SimCode: time 5.51e-07/0.3475, allocations: 4 kB / 0.7312 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05883/0.4063, allocations: 28.63 MB / 0.7592 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.28/14.69, allocations: 13.86 kB / 0.7592 GB, free: 10.75 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)