Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.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.LoadTestVoltDependant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestVoltDependant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestVoltDependant",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.008849/0.008849, allocations: 95.39 kB / 15.73 MB, free: 6.039 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.364/1.364, allocations: 222.9 MB / 239.4 MB, free: 4.547 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.001273/0.001273, allocations: 187.8 kB / 289.7 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5008/0.5008, allocations: 91.91 MB / 431.8 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 80.77 kB / 0.5723 GB, free: 33.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1287, allocations: 71.29 MB / 0.6419 GB, free: 4.098 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant): time 0.005924/0.1346, allocations: 5.257 MB / 0.647 GB, free: 14.81 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003084/0.1378, allocations: 1.614 MB / 0.6486 GB, free: 13.19 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006902/0.1385, allocations: 8 kB / 0.6486 GB, free: 13.18 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006114/0.1391, allocations: 186.4 kB / 0.6488 GB, free: 13 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00187/0.141, allocations: 0.6642 MB / 0.6494 GB, free: 12.33 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.1422, allocations: 492.1 kB / 0.6499 GB, free: 11.86 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001373/0.1436, allocations: 1.059 MB / 0.6509 GB, free: 10.79 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004509/0.144, allocations: 262.8 kB / 0.6512 GB, free: 10.52 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006681/0.1447, allocations: 462 kB / 0.6516 GB, free: 10.07 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000755/0.1455, allocations: 0.5873 MB / 0.6522 GB, free: 9.48 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001946/0.1457, allocations: 84 kB / 0.6523 GB, free: 9.398 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004649/0.1462, allocations: 211.9 kB / 0.6525 GB, free: 9.191 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002188/0.1464, allocations: 235 kB / 0.6527 GB, free: 8.961 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005071/0.1469, allocations: 0.5008 MB / 0.6532 GB, free: 8.457 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001461/0.1484, allocations: 1.241 MB / 0.6544 GB, free: 7.211 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1484, allocations: 0 / 0.6544 GB, free: 7.211 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1484, allocations: 4 kB / 0.6544 GB, free: 7.207 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.207e-05/0.1485, allocations: 0 / 0.6544 GB, free: 7.207 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.007259/0.1557, allocations: 2.162 MB / 0.6565 GB, free: 4.992 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.1558, allocations: 12.03 kB / 0.6565 GB, free: 4.98 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001797/0.156, allocations: 110.6 kB / 0.6566 GB, free: 4.863 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004328/0.1603, allocations: 0.6474 MB / 0.6573 GB, free: 4.215 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.1615, allocations: 0.6551 MB / 0.6579 GB, free: 3.52 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/0.1617, allocations: 176 kB / 0.6581 GB, free: 3.32 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/0.1619, allocations: 64 kB / 0.6581 GB, free: 3.258 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002075/0.164, allocations: 0.8652 MB / 0.659 GB, free: 2.387 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.164, allocations: 0 / 0.659 GB, free: 2.387 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.076e-05/0.1641, allocations: 28 kB / 0.659 GB, free: 2.359 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.1641, allocations: 15.94 kB / 0.659 GB, free: 2.344 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002035/0.1662, allocations: 0.8952 MB / 0.6599 GB, free: 1.449 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.004646/0.1708, allocations: 2.416 MB / 0.6623 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001747/0.1726, allocations: 1.051 MB / 0.6633 GB, free: 13.79 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/0.174, allocations: 0.6434 MB / 0.6639 GB, free: 13.15 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.712e-05/0.1741, allocations: 16.64 kB / 0.6639 GB, free: 13.13 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.1741, allocations: 43.16 kB / 0.664 GB, free: 13.08 MB / 478.1 MB Notification: Performance of pre-optimization done (n=79): time 3.015e-06/0.1741, allocations: 0 / 0.664 GB, free: 13.08 MB / 478.1 MB Notification: Performance of matching and sorting (n=79): time 0.021/0.1951, allocations: 5.282 MB / 0.6691 GB, free: 7.766 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.1952, allocations: 64.06 kB / 0.6692 GB, free: 7.691 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.1964, allocations: 0.7512 MB / 0.6699 GB, free: 6.926 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001888/0.1966, allocations: 37.7 kB / 0.67 GB, free: 6.883 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002948/0.1969, allocations: 405.2 kB / 0.6703 GB, free: 6.48 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003609/0.1972, allocations: 293.5 kB / 0.6706 GB, free: 6.191 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000413/0.1977, allocations: 178.6 kB / 0.6708 GB, free: 6.008 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1978, allocations: 341.9 kB / 0.6711 GB, free: 5.668 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/0.1992, allocations: 0.6032 MB / 0.6717 GB, free: 5.066 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001473/0.2007, allocations: 0.7085 MB / 0.6724 GB, free: 4.332 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002972/0.2037, allocations: 1.311 MB / 0.6737 GB, free: 2.992 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.2037, allocations: 4 kB / 0.6737 GB, free: 2.988 MB / 478.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.01182/0.2155, allocations: 3.568 MB / 0.6772 GB, free: 15.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.2156, allocations: 7.938 kB / 0.6772 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.2156, allocations: 4 kB / 0.6772 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005891/0.2215, allocations: 1.495 MB / 0.6786 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000908/0.2224, allocations: 167.8 kB / 0.6788 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01898/0.2414, allocations: 8.172 MB / 0.6868 GB, free: 5.418 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.2428, allocations: 147.5 kB / 0.6869 GB, free: 5.273 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001892/0.243, allocations: 35.98 kB / 0.687 GB, free: 5.238 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.0005704/0.2436, allocations: 233.5 kB / 0.6872 GB, free: 5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002801/0.2439, allocations: 99.34 kB / 0.6873 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01094/0.2548, allocations: 3.279 MB / 0.6905 GB, free: 1.609 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/0.2549, allocations: 11.94 kB / 0.6905 GB, free: 1.598 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2549, allocations: 4 kB / 0.6905 GB, free: 1.594 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/0.2549, allocations: 3.984 kB / 0.6905 GB, free: 1.59 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.01304/0.268, allocations: 4.609 MB / 0.695 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.531e-05/0.268, allocations: 3.938 kB / 0.695 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006341/0.2687, allocations: 87.88 kB / 0.6951 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005471/0.2742, allocations: 1.458 MB / 0.6965 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000253/0.2744, allocations: 16 kB / 0.6965 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01664/0.2911, allocations: 7.046 MB / 0.7034 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.2912, allocations: 7.938 kB / 0.7034 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01284/0.304, allocations: 4.118 MB / 0.7074 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000302/0.3043, allocations: 180.3 kB / 0.7076 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002408/0.3046, allocations: 15.98 kB / 0.7076 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000971/0.3056, allocations: 87.91 kB / 0.7077 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005494/0.3061, allocations: 172.3 kB / 0.7079 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.833e-05/0.3062, allocations: 23.92 kB / 0.7079 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007215/0.307, allocations: 0.5107 MB / 0.7084 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.51e-07/0.307, allocations: 0 / 0.7084 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001213/0.3082, allocations: 367.7 kB / 0.7087 GB, free: 14.61 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.01335/0.3216, allocations: 4.673 MB / 0.7133 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006113/0.3277, allocations: 2.091 MB / 0.7153 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.3277, allocations: 0 / 0.7153 GB, free: 7.781 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004168/0.3319, allocations: 1.311 MB / 0.7166 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009945/0.3329, allocations: 76.39 kB / 0.7167 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0332/0.3662, allocations: 12.87 MB / 0.7293 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006379/0.3668, allocations: 1.009 MB / 0.7303 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004138/0.3673, allocations: 93.45 kB / 0.7303 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000499/0.3678, allocations: 339.3 kB / 0.7307 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of SimCode: time 9.02e-07/0.3678, allocations: 0 / 0.7307 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0565/0.4243, allocations: 28.63 MB / 0.7586 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.4/14.83, allocations: 4.422 kB / 0.7586 GB, free: 11.39 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant_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_LoadTestVoltDependant.fmu > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestVoltDependant.pipe 2>&1)