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.08796/0.08796, allocations: 12.58 MB / 28.22 MB, free: 0.7344 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.001149/0.001149, allocations: 111.4 kB / 31.83 MB, free: 3.879 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.319/1.319, 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.001493/0.001493, allocations: 191.4 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4271/0.4271, allocations: 78.51 MB / 419.3 MB, free: 11.24 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.002799/0.002799, allocations: 139.4 kB / 0.5554 GB, free: 28.76 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1135, allocations: 68.13 MB / 0.6219 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.006397/0.12, allocations: 5.304 MB / 0.6271 GB, free: 10.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003244/0.1233, allocations: 1.604 MB / 0.6287 GB, free: 8.973 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006914/0.124, allocations: 8 kB / 0.6287 GB, free: 8.965 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006434/0.1247, allocations: 182.4 kB / 0.6288 GB, free: 8.785 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00194/0.1266, allocations: 0.6678 MB / 0.6295 GB, free: 8.117 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001168/0.1278, allocations: 0.5048 MB / 0.63 GB, free: 7.617 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001405/0.1292, allocations: 1.086 MB / 0.6311 GB, free: 6.527 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004619/0.1297, allocations: 262.7 kB / 0.6313 GB, free: 6.258 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006885/0.1304, allocations: 474 kB / 0.6318 GB, free: 5.793 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007891/0.1312, allocations: 0.5834 MB / 0.6323 GB, free: 5.207 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002243/0.1314, allocations: 80 kB / 0.6324 GB, free: 5.129 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005346/0.132, allocations: 219.9 kB / 0.6326 GB, free: 4.914 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000276/0.1323, allocations: 234.9 kB / 0.6328 GB, free: 4.684 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005682/0.1328, allocations: 0.4892 MB / 0.6333 GB, free: 4.191 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.1344, allocations: 1.229 MB / 0.6345 GB, free: 2.957 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.098e-06/0.1345, allocations: 4 kB / 0.6345 GB, free: 2.953 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1345, allocations: 3.938 kB / 0.6345 GB, free: 2.949 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.7e-05/0.1345, allocations: 4 kB / 0.6345 GB, free: 2.945 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.007342/0.1419, allocations: 2.153 MB / 0.6366 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.1419, allocations: 19.97 kB / 0.6366 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001875/0.1421, allocations: 102.7 kB / 0.6367 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004403/0.1465, allocations: 0.6514 MB / 0.6374 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.1477, allocations: 0.6551 MB / 0.638 GB, free: 15.26 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/0.1479, allocations: 184 kB / 0.6382 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/0.1481, allocations: 60 kB / 0.6383 GB, free: 14.99 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001927/0.15, allocations: 0.8574 MB / 0.6391 GB, free: 14.13 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.1501, allocations: 4 kB / 0.6391 GB, free: 14.12 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.978e-05/0.1501, allocations: 24 kB / 0.6391 GB, free: 14.1 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.1502, allocations: 15.94 kB / 0.6391 GB, free: 14.09 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/0.1521, allocations: 0.8913 MB / 0.64 GB, free: 13.2 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.004254/0.1564, allocations: 2.409 MB / 0.6424 GB, free: 10.68 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.158, allocations: 1.029 MB / 0.6434 GB, free: 9.57 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/0.1594, allocations: 0.637 MB / 0.644 GB, free: 8.934 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.14e-05/0.1595, allocations: 8.656 kB / 0.644 GB, free: 8.926 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.1595, allocations: 43.2 kB / 0.644 GB, free: 8.875 MB / 462.1 MB Notification: Performance of pre-optimization done (n=76): time 4.799e-06/0.1595, allocations: 0 / 0.644 GB, free: 8.875 MB / 462.1 MB Notification: Performance of matching and sorting (n=76): time 0.02287/0.1824, allocations: 5.55 MB / 0.6494 GB, free: 3.289 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.1825, allocations: 60.06 kB / 0.6495 GB, free: 3.219 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.1836, allocations: 0.7591 MB / 0.6502 GB, free: 2.453 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001941/0.1838, allocations: 41.69 kB / 0.6503 GB, free: 2.406 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003007/0.1841, allocations: 405 kB / 0.6507 GB, free: 2.004 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003824/0.1845, allocations: 285.6 kB / 0.6509 GB, free: 1.723 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004434/0.185, allocations: 178.6 kB / 0.6511 GB, free: 1.539 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1851, allocations: 345.9 kB / 0.6514 GB, free: 1.195 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001436/0.1865, allocations: 0.607 MB / 0.652 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/0.188, allocations: 0.7046 MB / 0.6527 GB, free: 15.86 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002876/0.1909, allocations: 1.308 MB / 0.654 GB, free: 14.52 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.1909, allocations: 0 / 0.654 GB, free: 14.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01167/0.2026, allocations: 3.494 MB / 0.6574 GB, free: 11.02 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.2027, allocations: 4 kB / 0.6574 GB, free: 11.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.2027, allocations: 4 kB / 0.6574 GB, free: 11.01 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005467/0.2082, allocations: 1.446 MB / 0.6588 GB, free: 9.562 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009499/0.2092, allocations: 175.7 kB / 0.659 GB, free: 9.391 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01918/0.2284, allocations: 7.806 MB / 0.6666 GB, free: 1.441 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/0.2298, allocations: 143.5 kB / 0.6668 GB, free: 1.301 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/0.2301, allocations: 39.92 kB / 0.6668 GB, free: 1.262 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.0005686/0.2307, allocations: 221.6 kB / 0.667 GB, free: 1.035 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002734/0.2309, allocations: 103.3 kB / 0.6671 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01079/0.2417, allocations: 3.219 MB / 0.6703 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/0.2418, allocations: 15.92 kB / 0.6703 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.2418, allocations: 0 / 0.6703 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.008e-05/0.2418, allocations: 3.984 kB / 0.6703 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01322/0.2551, allocations: 4.55 MB / 0.6747 GB, free: 9.012 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/0.2551, allocations: 7.984 kB / 0.6747 GB, free: 9.004 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006398/0.2558, allocations: 95.88 kB / 0.6748 GB, free: 8.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005099/0.2609, allocations: 1.402 MB / 0.6762 GB, free: 7.504 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001553/0.2611, allocations: 16 kB / 0.6762 GB, free: 7.488 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01559/0.2767, allocations: 6.73 MB / 0.6828 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.2767, allocations: 4 kB / 0.6828 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01236/0.2891, allocations: 4.051 MB / 0.6867 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002944/0.2894, allocations: 188.3 kB / 0.6869 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001325/0.2895, allocations: 12 kB / 0.6869 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008685/0.2904, allocations: 79.91 kB / 0.687 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004897/0.2909, allocations: 164.4 kB / 0.6872 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-05/0.291, allocations: 23.98 kB / 0.6872 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006095/0.2916, allocations: 0.5146 MB / 0.6877 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2916, allocations: 0 / 0.6877 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001013/0.2926, allocations: 363.7 kB / 0.688 GB, free: 11.19 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.01279/0.3054, allocations: 4.629 MB / 0.6925 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005687/0.3111, allocations: 2.05 MB / 0.6946 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3112, allocations: 4.062 kB / 0.6946 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00386/0.3151, allocations: 1.296 MB / 0.6958 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007135/0.3158, allocations: 71.3 kB / 0.6959 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03112/0.3469, allocations: 12.72 MB / 0.7083 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006925/0.3477, allocations: 1.009 MB / 0.7093 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004251/0.3481, allocations: 97.45 kB / 0.7094 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005315/0.3486, allocations: 343.3 kB / 0.7097 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of SimCode: time 6.21e-07/0.3486, allocations: 0 / 0.7097 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3004/0.6491, allocations: 27.47 MB / 0.7366 GB, free: 80.93 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.38/15.03, allocations: 3.984 kB / 0.7366 GB, free: 80.93 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)