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.001644/0.001644, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 239.3 MB, free: 4.57 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.001345/0.001345, allocations: 184.5 kB / 289.5 MB, free: 2.305 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4964/0.4964, allocations: 91.9 MB / 431.6 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 75.88 kB / 0.502 GB, free: 7.555 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2931, allocations: 71.27 MB / 0.5716 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.004561/0.2977, allocations: 5.27 MB / 0.5767 GB, free: 33.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002649/0.3004, allocations: 1.636 MB / 0.5783 GB, free: 32.65 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004337/0.3009, allocations: 10.97 kB / 0.5783 GB, free: 32.65 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004337/0.3013, allocations: 184.8 kB / 0.5785 GB, free: 32.55 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00132/0.3027, allocations: 0.6314 MB / 0.5791 GB, free: 32.14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009333/0.3036, allocations: 0.5052 MB / 0.5796 GB, free: 31.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008203/0.3044, allocations: 1.071 MB / 0.5807 GB, free: 31.35 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003487/0.3048, allocations: 268.3 kB / 0.5809 GB, free: 31.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004091/0.3052, allocations: 475 kB / 0.5814 GB, free: 31 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004985/0.3057, allocations: 0.5828 MB / 0.5819 GB, free: 30.72 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001166/0.3058, allocations: 79.62 kB / 0.582 GB, free: 30.72 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003934/0.3062, allocations: 220.8 kB / 0.5822 GB, free: 30.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.3064, allocations: 230.2 kB / 0.5825 GB, free: 30.53 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000312/0.3067, allocations: 0.4887 MB / 0.5829 GB, free: 30.2 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008714/0.3076, allocations: 1.216 MB / 0.5841 GB, free: 29.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3076, allocations: 0 / 0.5841 GB, free: 29.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3076, allocations: 3.594 kB / 0.5841 GB, free: 29.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.032e-05/0.3077, allocations: 0 / 0.5841 GB, free: 29.64 MB / 430.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.006424/0.3141, allocations: 2.131 MB / 0.5862 GB, free: 28.63 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3142, allocations: 9.375 kB / 0.5862 GB, free: 28.63 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001203/0.3143, allocations: 109.1 kB / 0.5863 GB, free: 28.55 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00424/0.3185, allocations: 0.641 MB / 0.5869 GB, free: 28.42 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009146/0.3195, allocations: 0.6576 MB / 0.5876 GB, free: 27.94 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/0.3196, allocations: 180.5 kB / 0.5878 GB, free: 27.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.3198, allocations: 60.06 kB / 0.5878 GB, free: 27.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001777/0.3216, allocations: 0.8521 MB / 0.5886 GB, free: 27.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.3216, allocations: 3.938 kB / 0.5886 GB, free: 27.46 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-05/0.3217, allocations: 29.03 kB / 0.5887 GB, free: 27.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/0.3217, allocations: 17.53 kB / 0.5887 GB, free: 27.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00228/0.324, allocations: 0.8892 MB / 0.5896 GB, free: 27.15 MB / 430.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.004437/0.3285, allocations: 2.413 MB / 0.5919 GB, free: 25.86 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.33, allocations: 1.033 MB / 0.5929 GB, free: 25.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001202/0.3312, allocations: 0.6283 MB / 0.5935 GB, free: 24.96 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.128e-05/0.3313, allocations: 8.938 kB / 0.5935 GB, free: 24.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.3314, allocations: 42.56 kB / 0.5936 GB, free: 24.91 MB / 430.1 MB Notification: Performance of pre-optimization done (n=76): time 2.655e-06/0.3314, allocations: 4 kB / 0.5936 GB, free: 24.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=76): time 0.02356/0.3549, allocations: 5.545 MB / 0.599 GB, free: 23.87 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.355, allocations: 64.31 kB / 0.5991 GB, free: 23.8 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.3561, allocations: 0.7588 MB / 0.5998 GB, free: 23.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002022/0.3564, allocations: 40.11 kB / 0.5998 GB, free: 23.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/0.3566, allocations: 395.6 kB / 0.6002 GB, free: 23.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002778/0.3569, allocations: 278.6 kB / 0.6005 GB, free: 22.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003478/0.3573, allocations: 172 kB / 0.6007 GB, free: 22.81 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.146e-05/0.3573, allocations: 351.3 kB / 0.601 GB, free: 22.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/0.3587, allocations: 0.6019 MB / 0.6016 GB, free: 22.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/0.3602, allocations: 0.7051 MB / 0.6023 GB, free: 21.97 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002808/0.363, allocations: 1.308 MB / 0.6035 GB, free: 21.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/0.363, allocations: 0 / 0.6035 GB, free: 21.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01218/0.3752, allocations: 3.487 MB / 0.6069 GB, free: 20.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.3753, allocations: 6.156 kB / 0.607 GB, free: 20.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.3753, allocations: 2.688 kB / 0.607 GB, free: 20.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005721/0.381, allocations: 1.452 MB / 0.6084 GB, free: 20.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.3821, allocations: 174.9 kB / 0.6085 GB, free: 20.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01841/0.4005, allocations: 7.815 MB / 0.6162 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/0.402, allocations: 140.9 kB / 0.6163 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.4021, allocations: 35.58 kB / 0.6163 GB, free: 15.72 MB / 430.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.0004207/0.4025, allocations: 226.3 kB / 0.6166 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001936/0.4027, allocations: 95.66 kB / 0.6166 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01031/0.413, allocations: 3.219 MB / 0.6198 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/0.4131, allocations: 8 kB / 0.6198 GB, free: 12.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.4131, allocations: 7.984 kB / 0.6198 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.4131, allocations: 7.938 kB / 0.6198 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0116/0.4248, allocations: 4.539 MB / 0.6242 GB, free: 7.988 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.4248, allocations: 0 / 0.6242 GB, free: 7.988 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005972/0.4254, allocations: 99.88 kB / 0.6243 GB, free: 7.891 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004626/0.4301, allocations: 1.411 MB / 0.6257 GB, free: 6.477 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001292/0.4302, allocations: 16 kB / 0.6257 GB, free: 6.461 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01402/0.4442, allocations: 6.733 MB / 0.6323 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4443, allocations: 0 / 0.6323 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01314/0.4574, allocations: 4.056 MB / 0.6363 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003282/0.4578, allocations: 175.8 kB / 0.6364 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/0.4579, allocations: 16 kB / 0.6365 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009246/0.4589, allocations: 83.91 kB / 0.6365 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005164/0.4594, allocations: 160.4 kB / 0.6367 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.717e-05/0.4595, allocations: 20 kB / 0.6367 GB, free: 11.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006356/0.4601, allocations: 0.5107 MB / 0.6372 GB, free: 10.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4601, allocations: 0 / 0.6372 GB, free: 10.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001093/0.4612, allocations: 359.6 kB / 0.6375 GB, free: 10.18 MB / 446.1 MB 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.01356/0.4748, allocations: 4.632 MB / 0.6421 GB, free: 5.504 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006873/0.4817, allocations: 2.1 MB / 0.6441 GB, free: 3.391 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.4818, allocations: 0 / 0.6441 GB, free: 3.391 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004303/0.4861, allocations: 1.284 MB / 0.6454 GB, free: 2.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009327/0.487, allocations: 75.3 kB / 0.6454 GB, free: 2.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03394/0.521, allocations: 13.07 MB / 0.6582 GB, free: 4.652 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007216/0.5218, allocations: 1.009 MB / 0.6592 GB, free: 3.617 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005132/0.5223, allocations: 93.45 kB / 0.6593 GB, free: 3.523 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005639/0.5229, allocations: 343.3 kB / 0.6596 GB, free: 3.188 MB / 462.1 MB Notification: Performance of SimCode: time 1.283e-06/0.5229, allocations: 4 kB / 0.6596 GB, free: 3.184 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06221/0.5851, allocations: 27.12 MB / 0.6861 GB, free: 8.184 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.83, allocations: 3.984 kB / 0.6861 GB, free: 8.18 MB / 494.1 MB (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)