Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.0804/0.0804, allocations: 12.59 MB / 28.22 MB, free: 0.7383 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 111.4 kB / 31.84 MB, free: 3.887 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.274/1.274, allocations: 205.1 MB / 240.4 MB, free: 12.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 196.4 kB / 290.7 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4133/0.4133, allocations: 78.51 MB / 419.3 MB, free: 11.26 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003628/0.003628, allocations: 144.3 kB / 0.5554 GB, free: 28.87 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1146, allocations: 68.13 MB / 0.6219 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.006261/0.1209, allocations: 5.29 MB / 0.6271 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002798/0.1237, allocations: 1.611 MB / 0.6287 GB, free: 8.992 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002711/0.124, allocations: 11.94 kB / 0.6287 GB, free: 8.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004213/0.1244, allocations: 166.5 kB / 0.6288 GB, free: 8.816 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001369/0.1258, allocations: 0.6554 MB / 0.6295 GB, free: 8.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009672/0.1268, allocations: 0.495 MB / 0.6299 GB, free: 7.668 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001089/0.1279, allocations: 1.078 MB / 0.631 GB, free: 6.586 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003885/0.1283, allocations: 270.7 kB / 0.6313 GB, free: 6.309 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005218/0.1288, allocations: 466 kB / 0.6317 GB, free: 5.852 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006775/0.1295, allocations: 0.5911 MB / 0.6323 GB, free: 5.258 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.1297, allocations: 80 kB / 0.6324 GB, free: 5.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003828/0.1301, allocations: 215.9 kB / 0.6326 GB, free: 4.969 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002177/0.1303, allocations: 231 kB / 0.6328 GB, free: 4.742 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004269/0.1307, allocations: 0.497 MB / 0.6333 GB, free: 4.242 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001274/0.132, allocations: 1.237 MB / 0.6345 GB, free: 3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.132, allocations: 0 / 0.6345 GB, free: 3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.132, allocations: 0 / 0.6345 GB, free: 3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.132, allocations: 0 / 0.6345 GB, free: 3 MB / 446.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.006458/0.1385, allocations: 2.153 MB / 0.6366 GB, free: 0.793 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.1386, allocations: 15.98 kB / 0.6366 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001414/0.1387, allocations: 106.7 kB / 0.6367 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003917/0.1426, allocations: 0.6513 MB / 0.6373 GB, free: 12 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009351/0.1436, allocations: 0.659 MB / 0.638 GB, free: 15.31 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001983/0.1438, allocations: 180.1 kB / 0.6381 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.1439, allocations: 60 kB / 0.6382 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.1457, allocations: 0.8575 MB / 0.639 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.1458, allocations: 0 / 0.639 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.213e-05/0.1459, allocations: 27.94 kB / 0.6391 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.1459, allocations: 23.92 kB / 0.6391 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/0.1479, allocations: 0.8874 MB / 0.64 GB, free: 13.25 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.004095/0.152, allocations: 2.416 MB / 0.6423 GB, free: 10.73 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/0.1537, allocations: 1.028 MB / 0.6433 GB, free: 9.617 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001305/0.155, allocations: 0.6293 MB / 0.6439 GB, free: 8.988 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.604e-05/0.1551, allocations: 8.656 kB / 0.6439 GB, free: 8.98 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.1552, allocations: 39.22 kB / 0.644 GB, free: 8.934 MB / 462.1 MB Notification: Performance of pre-optimization done (n=76): time 2.194e-06/0.1552, allocations: 0 / 0.644 GB, free: 8.934 MB / 462.1 MB Notification: Performance of matching and sorting (n=76): time 0.02226/0.1774, allocations: 5.554 MB / 0.6494 GB, free: 3.344 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.1775, allocations: 64.06 kB / 0.6495 GB, free: 3.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.1785, allocations: 0.7591 MB / 0.6502 GB, free: 2.504 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.97e-05/0.1786, allocations: 37.7 kB / 0.6502 GB, free: 2.461 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/0.179, allocations: 405 kB / 0.6506 GB, free: 2.059 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002966/0.1793, allocations: 293.5 kB / 0.6509 GB, free: 1.77 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003581/0.1797, allocations: 174.6 kB / 0.6511 GB, free: 1.59 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.1798, allocations: 349.9 kB / 0.6514 GB, free: 1.242 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/0.1812, allocations: 0.6032 MB / 0.652 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001456/0.1827, allocations: 0.7007 MB / 0.6527 GB, free: 15.91 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002861/0.1856, allocations: 1.308 MB / 0.654 GB, free: 14.58 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1856, allocations: 0 / 0.654 GB, free: 14.58 MB / 478.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01156/0.1972, allocations: 3.494 MB / 0.6574 GB, free: 11.08 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.1972, allocations: 10.84 kB / 0.6574 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.1972, allocations: 4 kB / 0.6574 GB, free: 11.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005272/0.2025, allocations: 1.446 MB / 0.6588 GB, free: 9.617 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008701/0.2034, allocations: 175.6 kB / 0.659 GB, free: 9.445 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01844/0.2218, allocations: 7.81 MB / 0.6666 GB, free: 1.492 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.223, allocations: 139.5 kB / 0.6667 GB, free: 1.355 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.888e-05/0.2231, allocations: 35.98 kB / 0.6668 GB, free: 1.32 MB / 478.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.000401/0.2235, allocations: 221.6 kB / 0.667 GB, free: 1.094 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.2237, allocations: 99.34 kB / 0.6671 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01081/0.2345, allocations: 3.227 MB / 0.6702 GB, free: 13.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.158e-06/0.2345, allocations: 12 kB / 0.6702 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.2345, allocations: 0 / 0.6702 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.2346, allocations: 7.984 kB / 0.6702 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01238/0.2469, allocations: 4.55 MB / 0.6747 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.247, allocations: 0 / 0.6747 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005144/0.2475, allocations: 95.88 kB / 0.6748 GB, free: 8.973 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004886/0.2524, allocations: 1.402 MB / 0.6761 GB, free: 7.566 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.154e-05/0.2525, allocations: 19.98 kB / 0.6762 GB, free: 7.547 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01566/0.2682, allocations: 6.73 MB / 0.6827 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.2682, allocations: 0 / 0.6827 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01278/0.281, allocations: 4.062 MB / 0.6867 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002738/0.2813, allocations: 184.3 kB / 0.6869 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.2814, allocations: 15.98 kB / 0.6869 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008326/0.2822, allocations: 87.91 kB / 0.687 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005194/0.2828, allocations: 156.4 kB / 0.6871 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.354e-05/0.2828, allocations: 24 kB / 0.6871 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006661/0.2835, allocations: 0.5107 MB / 0.6876 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2835, allocations: 0 / 0.6876 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009833/0.2845, allocations: 359.7 kB / 0.688 GB, free: 11.25 MB / 0.4981 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.01298/0.2975, allocations: 4.637 MB / 0.6925 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005851/0.3034, allocations: 2.05 MB / 0.6945 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3034, allocations: 0 / 0.6945 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003895/0.3073, allocations: 1.308 MB / 0.6958 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006722/0.308, allocations: 67.31 kB / 0.6959 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03152/0.3395, allocations: 12.72 MB / 0.7083 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006736/0.3402, allocations: 1.009 MB / 0.7093 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003717/0.3406, allocations: 93.45 kB / 0.7094 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004806/0.3411, allocations: 343.3 kB / 0.7097 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of SimCode: time 7.82e-07/0.3411, allocations: 0 / 0.7097 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2801/0.6212, allocations: 27.46 MB / 0.7365 GB, free: 81.38 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.64/14.26, allocations: 11.86 kB / 0.7365 GB, free: 81.37 MB / 0.5137 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1)