Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.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.LoadTestPQ,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",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.008029/0.008029, allocations: 96.31 kB / 15.73 MB, free: 6.055 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.408/1.408, allocations: 222.9 MB / 239.4 MB, free: 4.539 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.00153/0.00153, allocations: 188.5 kB / 289.7 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.54/0.54, allocations: 91.9 MB / 431.8 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002263/0.002263, allocations: 80.03 kB / 0.5723 GB, free: 33.76 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1159, allocations: 71.28 MB / 0.6419 GB, free: 4.094 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.006625/0.1225, allocations: 5.277 MB / 0.647 GB, free: 14.79 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003275/0.1258, allocations: 1.642 MB / 0.6486 GB, free: 13.14 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005792/0.1264, allocations: 8 kB / 0.6486 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005657/0.127, allocations: 174.4 kB / 0.6488 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.1288, allocations: 0.632 MB / 0.6494 GB, free: 12.33 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.13, allocations: 0.4958 MB / 0.6499 GB, free: 11.84 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001465/0.1315, allocations: 1.082 MB / 0.651 GB, free: 10.75 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004635/0.1319, allocations: 258.8 kB / 0.6512 GB, free: 10.48 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008135/0.1328, allocations: 466 kB / 0.6517 GB, free: 10.03 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009486/0.1337, allocations: 0.5951 MB / 0.6522 GB, free: 9.43 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002133/0.134, allocations: 80 kB / 0.6523 GB, free: 9.352 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004969/0.1345, allocations: 223.8 kB / 0.6525 GB, free: 9.133 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002628/0.1347, allocations: 231 kB / 0.6527 GB, free: 8.906 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006211/0.1354, allocations: 0.4892 MB / 0.6532 GB, free: 8.414 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.137, allocations: 1.233 MB / 0.6544 GB, free: 7.176 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.137, allocations: 0 / 0.6544 GB, free: 7.176 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.137, allocations: 0 / 0.6544 GB, free: 7.176 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.83e-05/0.1371, allocations: 4 kB / 0.6544 GB, free: 7.172 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.007091/0.1442, allocations: 2.169 MB / 0.6565 GB, free: 4.949 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1442, allocations: 8.031 kB / 0.6566 GB, free: 4.941 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00017/0.1444, allocations: 106.7 kB / 0.6567 GB, free: 4.828 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004183/0.1486, allocations: 0.6513 MB / 0.6573 GB, free: 4.176 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/0.1498, allocations: 0.659 MB / 0.6579 GB, free: 3.477 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002286/0.15, allocations: 184 kB / 0.6581 GB, free: 3.27 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.1502, allocations: 60 kB / 0.6582 GB, free: 3.211 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/0.1521, allocations: 0.8536 MB / 0.659 GB, free: 2.352 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.1521, allocations: 0 / 0.659 GB, free: 2.352 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.35e-05/0.1522, allocations: 28 kB / 0.659 GB, free: 2.324 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/0.1522, allocations: 19.94 kB / 0.659 GB, free: 2.305 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002003/0.1542, allocations: 0.8913 MB / 0.6599 GB, free: 1.414 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.004516/0.1588, allocations: 2.405 MB / 0.6623 GB, free: 14.9 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.1605, allocations: 1.034 MB / 0.6633 GB, free: 13.79 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00128/0.1618, allocations: 0.6317 MB / 0.6639 GB, free: 13.15 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.368e-05/0.1619, allocations: 12.64 kB / 0.6639 GB, free: 13.14 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.1619, allocations: 43.22 kB / 0.6639 GB, free: 13.09 MB / 478.1 MB Notification: Performance of pre-optimization done (n=76): time 2.384e-06/0.1619, allocations: 0 / 0.6639 GB, free: 13.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=76): time 0.02226/0.1842, allocations: 5.55 MB / 0.6694 GB, free: 7.504 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.24e-05/0.1843, allocations: 60.06 kB / 0.6694 GB, free: 7.434 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.1853, allocations: 0.763 MB / 0.6702 GB, free: 6.656 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000148/0.1855, allocations: 33.7 kB / 0.6702 GB, free: 6.617 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000323/0.1858, allocations: 405.1 kB / 0.6706 GB, free: 6.215 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003125/0.1861, allocations: 289.5 kB / 0.6709 GB, free: 5.93 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003443/0.1865, allocations: 170.6 kB / 0.671 GB, free: 5.754 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001714/0.1867, allocations: 349.9 kB / 0.6714 GB, free: 5.406 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.188, allocations: 0.6032 MB / 0.672 GB, free: 4.805 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.1894, allocations: 0.7007 MB / 0.6726 GB, free: 4.078 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00282/0.1923, allocations: 1.311 MB / 0.6739 GB, free: 2.738 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.1923, allocations: 0 / 0.6739 GB, free: 2.738 MB / 478.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01141/0.2037, allocations: 3.498 MB / 0.6773 GB, free: 15.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.2038, allocations: 8 kB / 0.6773 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.2038, allocations: 0 / 0.6773 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005185/0.209, allocations: 1.45 MB / 0.6788 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009204/0.2099, allocations: 179.6 kB / 0.6789 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01855/0.2285, allocations: 7.806 MB / 0.6865 GB, free: 5.645 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.2298, allocations: 143.5 kB / 0.6867 GB, free: 5.504 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.435e-05/0.2299, allocations: 35.98 kB / 0.6867 GB, free: 5.469 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 (94): * Single equations (assignments): 93 * 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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004414/0.2304, allocations: 232 kB / 0.6869 GB, free: 5.234 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001789/0.2305, allocations: 95.39 kB / 0.687 GB, free: 5.141 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01047/0.241, allocations: 3.219 MB / 0.6902 GB, free: 1.906 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.2411, allocations: 8 kB / 0.6902 GB, free: 1.898 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.2411, allocations: 0 / 0.6902 GB, free: 1.898 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/0.2411, allocations: 3.984 kB / 0.6902 GB, free: 1.895 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01235/0.2535, allocations: 4.546 MB / 0.6946 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.2535, allocations: 0 / 0.6946 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005946/0.2541, allocations: 107.8 kB / 0.6947 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004824/0.2589, allocations: 1.403 MB / 0.6961 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.894e-05/0.2591, allocations: 19.98 kB / 0.6961 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01516/0.2742, allocations: 6.726 MB / 0.7027 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.2743, allocations: 3.984 kB / 0.7027 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0124/0.2867, allocations: 4.062 MB / 0.7067 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002881/0.287, allocations: 188.4 kB / 0.7068 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/0.2871, allocations: 15.98 kB / 0.7069 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008319/0.288, allocations: 83.89 kB / 0.7069 GB, free: 456 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005181/0.2885, allocations: 160.4 kB / 0.7071 GB, free: 292 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.216e-05/0.2886, allocations: 20 kB / 0.7071 GB, free: 272 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006816/0.2893, allocations: 0.5186 MB / 0.7076 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2893, allocations: 0 / 0.7076 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009929/0.2903, allocations: 351.7 kB / 0.7079 GB, free: 15.4 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 (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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01255/0.3028, allocations: 4.629 MB / 0.7125 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005562/0.3084, allocations: 2.057 MB / 0.7145 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3085, allocations: 0 / 0.7145 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003769/0.3122, allocations: 1.296 MB / 0.7157 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007027/0.313, allocations: 81.48 kB / 0.7158 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03105/0.344, allocations: 12.72 MB / 0.7282 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000666/0.3447, allocations: 1.005 MB / 0.7292 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003874/0.3451, allocations: 97.39 kB / 0.7293 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004794/0.3456, allocations: 343.3 kB / 0.7296 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of SimCode: time 5.81e-07/0.3456, allocations: 3.938 kB / 0.7296 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06312/0.4087, allocations: 27.47 MB / 0.7565 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.76/15.17, allocations: 4.062 kB / 0.7565 GB, free: 13.56 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ_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_LoadTestPQ.fmu > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1)