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.005747/0.005747, allocations: 102.2 kB / 15.73 MB, free: 6.062 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.307/1.307, allocations: 222.9 MB / 239.4 MB, free: 4.531 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.001443/0.001443, allocations: 188.5 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4966/0.4966, allocations: 91.9 MB / 431.8 MB, free: 9.156 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 84.91 kB / 0.5723 GB, free: 33.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1238/0.1253, allocations: 71.28 MB / 0.6419 GB, free: 4.059 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.006467/0.1318, allocations: 5.269 MB / 0.647 GB, free: 14.76 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003651/0.1355, allocations: 1.638 MB / 0.6486 GB, free: 13.12 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005764/0.1361, allocations: 8 kB / 0.6486 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005879/0.1367, allocations: 182.4 kB / 0.6488 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001749/0.1385, allocations: 0.6811 MB / 0.6495 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00105/0.1396, allocations: 500 kB / 0.6499 GB, free: 11.77 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001259/0.1409, allocations: 1.082 MB / 0.651 GB, free: 10.68 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003924/0.1413, allocations: 262.8 kB / 0.6512 GB, free: 10.41 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005563/0.1418, allocations: 466 kB / 0.6517 GB, free: 9.953 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006056/0.1425, allocations: 0.595 MB / 0.6523 GB, free: 9.355 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.1426, allocations: 87.98 kB / 0.6524 GB, free: 9.27 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004061/0.143, allocations: 215.9 kB / 0.6526 GB, free: 9.059 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001952/0.1432, allocations: 235 kB / 0.6528 GB, free: 8.828 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000376/0.1436, allocations: 0.4892 MB / 0.6533 GB, free: 8.336 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.1449, allocations: 1.233 MB / 0.6545 GB, free: 7.098 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1449, allocations: 0 / 0.6545 GB, free: 7.098 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1449, allocations: 0 / 0.6545 GB, free: 7.098 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.492e-05/0.145, 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.006839/0.1518, allocations: 2.169 MB / 0.6566 GB, free: 4.875 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.1519, allocations: 12.03 kB / 0.6566 GB, free: 4.863 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001367/0.152, allocations: 102.7 kB / 0.6567 GB, free: 4.754 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004158/0.1562, allocations: 0.6513 MB / 0.6573 GB, free: 4.102 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.1573, allocations: 0.6551 MB / 0.658 GB, free: 3.406 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/0.1575, allocations: 184 kB / 0.6581 GB, free: 3.199 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.1576, allocations: 60 kB / 0.6582 GB, free: 3.141 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.1594, allocations: 0.8536 MB / 0.659 GB, free: 2.281 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.1595, allocations: 0 / 0.659 GB, free: 2.281 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-05/0.1596, allocations: 24 kB / 0.6591 GB, free: 2.258 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.1596, allocations: 15.94 kB / 0.6591 GB, free: 2.242 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/0.1615, allocations: 0.8913 MB / 0.6599 GB, free: 1.352 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.00424/0.1658, allocations: 2.416 MB / 0.6623 GB, free: 14.83 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/0.1674, allocations: 1.031 MB / 0.6633 GB, free: 13.71 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/0.1686, allocations: 0.6278 MB / 0.6639 GB, free: 13.09 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.765e-05/0.1687, allocations: 20.62 kB / 0.6639 GB, free: 13.07 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.1687, allocations: 39.22 kB / 0.664 GB, free: 13.02 MB / 478.1 MB Notification: Performance of pre-optimization done (n=76): time 2.755e-06/0.1688, allocations: 4 kB / 0.664 GB, free: 13.01 MB / 478.1 MB Notification: Performance of matching and sorting (n=76): time 0.02212/0.1909, allocations: 5.546 MB / 0.6694 GB, free: 7.434 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.191, allocations: 60.06 kB / 0.6695 GB, free: 7.363 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009635/0.1919, allocations: 0.763 MB / 0.6702 GB, free: 6.586 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001524/0.1921, allocations: 37.7 kB / 0.6702 GB, free: 6.543 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/0.1924, allocations: 401.1 kB / 0.6706 GB, free: 6.145 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002873/0.1927, allocations: 289.5 kB / 0.6709 GB, free: 5.859 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003255/0.193, allocations: 174.6 kB / 0.6711 GB, free: 5.68 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1931, allocations: 349.9 kB / 0.6714 GB, free: 5.332 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/0.1945, allocations: 0.5993 MB / 0.672 GB, free: 4.734 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.1959, allocations: 0.7046 MB / 0.6727 GB, free: 4.004 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002767/0.1987, allocations: 1.308 MB / 0.674 GB, free: 2.668 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.1987, allocations: 4 kB / 0.674 GB, free: 2.664 MB / 478.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01132/0.21, allocations: 3.494 MB / 0.6774 GB, free: 15.16 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.2101, allocations: 8 kB / 0.6774 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.2101, allocations: 0 / 0.6774 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005259/0.2154, allocations: 1.454 MB / 0.6788 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009265/0.2163, allocations: 175.8 kB / 0.679 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01786/0.2342, allocations: 7.81 MB / 0.6866 GB, free: 5.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/0.2356, allocations: 147.5 kB / 0.6867 GB, free: 5.426 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.539e-05/0.2357, allocations: 35.98 kB / 0.6868 GB, free: 5.391 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.0004283/0.2361, allocations: 226.4 kB / 0.687 GB, free: 5.164 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.2363, allocations: 95.39 kB / 0.6871 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/0.247, allocations: 3.231 MB / 0.6902 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.919e-05/0.247, allocations: 8 kB / 0.6902 GB, free: 1.816 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.247, allocations: 3.984 kB / 0.6902 GB, free: 1.812 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.128e-05/0.2471, allocations: 3.984 kB / 0.6902 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0125/0.2596, allocations: 4.542 MB / 0.6947 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.327e-05/0.2596, allocations: 0 / 0.6947 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006007/0.2603, allocations: 99.81 kB / 0.6948 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004944/0.2652, allocations: 1.403 MB / 0.6961 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001353/0.2654, allocations: 15.98 kB / 0.6962 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01542/0.2808, allocations: 6.735 MB / 0.7027 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.2808, allocations: 0 / 0.7027 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01264/0.2935, allocations: 4.054 MB / 0.7067 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000393/0.2939, allocations: 184.3 kB / 0.7069 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002734/0.2942, allocations: 20 kB / 0.7069 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.2952, allocations: 79.89 kB / 0.707 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005783/0.2958, allocations: 164.4 kB / 0.7071 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.729e-05/0.2959, allocations: 16 kB / 0.7071 GB, free: 208 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007974/0.2967, allocations: 0.5185 MB / 0.7076 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.8e-07/0.2967, allocations: 0 / 0.7076 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001435/0.2982, allocations: 355.7 kB / 0.708 GB, free: 15.34 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.01316/0.3114, allocations: 4.632 MB / 0.7125 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006016/0.3174, allocations: 2.058 MB / 0.7145 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3175, allocations: 3.938 kB / 0.7145 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004058/0.3215, allocations: 1.292 MB / 0.7158 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009361/0.3225, allocations: 84.16 kB / 0.7159 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03374/0.3562, allocations: 12.72 MB / 0.7283 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007258/0.357, allocations: 1.009 MB / 0.7293 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004719/0.3575, allocations: 93.45 kB / 0.7294 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005613/0.3581, allocations: 343.3 kB / 0.7297 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of SimCode: time 8.92e-07/0.3581, allocations: 0 / 0.7297 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06168/0.4198, allocations: 27.47 MB / 0.7565 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/14.79, allocations: 13.59 kB / 0.7565 GB, free: 13.49 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)