Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ,fileNamePrefix="OpenIPSL_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.001427/0.001427, 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.327/1.327, allocations: 222.9 MB / 239.3 MB, free: 4.605 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.001291/0.001291, allocations: 191.7 kB / 289.6 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4405/0.4405, allocations: 78.53 MB / 418.2 MB, free: 3.219 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 79.88 kB / 497.6 MB, free: 6.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.125, allocations: 68.19 MB / 0.5525 GB, free: 2.094 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.209/0.3341, allocations: 5.245 MB / 0.5576 GB, free: 36.76 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002737/0.3368, allocations: 1.631 MB / 0.5592 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005129/0.3374, allocations: 11.84 kB / 0.5592 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005124/0.3379, allocations: 177.8 kB / 0.5594 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001512/0.3395, allocations: 0.6344 MB / 0.56 GB, free: 36.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009992/0.3405, allocations: 0.4943 MB / 0.5605 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000922/0.3414, allocations: 1.076 MB / 0.5615 GB, free: 35.99 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003447/0.3418, allocations: 262.9 kB / 0.5618 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004356/0.3422, allocations: 464.8 kB / 0.5622 GB, free: 35.85 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005204/0.3427, allocations: 0.5917 MB / 0.5628 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.3429, allocations: 80.78 kB / 0.5629 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000398/0.3433, allocations: 216.8 kB / 0.5631 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001655/0.3434, allocations: 231.2 kB / 0.5633 GB, free: 35.64 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003284/0.3438, allocations: 0.4925 MB / 0.5638 GB, free: 35.47 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.3448, allocations: 1.215 MB / 0.565 GB, free: 35.19 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3449, allocations: 0 / 0.565 GB, free: 35.19 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.3449, allocations: 0 / 0.565 GB, free: 35.19 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.3449, allocations: 0 / 0.565 GB, free: 35.19 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.006248/0.3511, allocations: 2.136 MB / 0.5671 GB, free: 34.39 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.3512, allocations: 12.41 kB / 0.5671 GB, free: 34.39 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000112/0.3513, allocations: 104.7 kB / 0.5672 GB, free: 34.36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00395/0.3553, allocations: 0.6463 MB / 0.5678 GB, free: 34.28 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009906/0.3563, allocations: 0.6543 MB / 0.5684 GB, free: 33.94 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000184/0.3565, allocations: 173.8 kB / 0.5686 GB, free: 33.81 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.3566, allocations: 61.39 kB / 0.5687 GB, free: 33.81 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.3584, allocations: 0.8634 MB / 0.5695 GB, free: 33.76 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.3584, allocations: 0 / 0.5695 GB, free: 33.76 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.643e-05/0.3585, allocations: 20.81 kB / 0.5695 GB, free: 33.76 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.3585, allocations: 18.34 kB / 0.5695 GB, free: 33.76 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001751/0.3603, allocations: 0.8881 MB / 0.5704 GB, free: 33.75 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.00368/0.3639, allocations: 2.415 MB / 0.5728 GB, free: 33.11 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.3654, allocations: 1.042 MB / 0.5738 GB, free: 32.69 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001099/0.3665, allocations: 0.6232 MB / 0.5744 GB, free: 32.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.585e-05/0.3666, allocations: 12.09 kB / 0.5744 GB, free: 32.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.3666, allocations: 41.56 kB / 0.5744 GB, free: 32.64 MB / 430.1 MB Notification: Performance of pre-optimization done (n=76): time 2.605e-06/0.3666, allocations: 2.75 kB / 0.5745 GB, free: 32.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=76): time 0.02096/0.3876, allocations: 5.539 MB / 0.5799 GB, free: 32.11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.3877, allocations: 66.52 kB / 0.5799 GB, free: 32.04 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.3887, allocations: 0.7622 MB / 0.5807 GB, free: 31.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.3889, allocations: 36.61 kB / 0.5807 GB, free: 31.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.3891, allocations: 399.4 kB / 0.5811 GB, free: 31.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/0.3893, allocations: 269.8 kB / 0.5813 GB, free: 31.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003236/0.3896, allocations: 177.1 kB / 0.5815 GB, free: 31.06 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.765e-05/0.3897, allocations: 347.5 kB / 0.5818 GB, free: 30.74 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001285/0.391, allocations: 0.6046 MB / 0.5824 GB, free: 30.53 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001339/0.3924, allocations: 0.7151 MB / 0.5831 GB, free: 30.22 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002904/0.3953, allocations: 1.305 MB / 0.5844 GB, free: 29.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/0.3953, allocations: 1.281 kB / 0.5844 GB, free: 29.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01123/0.4065, allocations: 3.481 MB / 0.5878 GB, free: 28.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.4066, allocations: 5.656 kB / 0.5878 GB, free: 28.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.4066, allocations: 2.141 kB / 0.5878 GB, free: 28.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005503/0.4121, allocations: 1.458 MB / 0.5892 GB, free: 28.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/0.4131, allocations: 175.3 kB / 0.5894 GB, free: 28.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01779/0.4309, allocations: 7.808 MB / 0.597 GB, free: 24.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.4323, allocations: 143.6 kB / 0.5972 GB, free: 24.59 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.079e-05/0.4324, allocations: 34.2 kB / 0.5972 GB, free: 24.58 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.0004215/0.4328, allocations: 222.7 kB / 0.5974 GB, free: 24.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/0.433, allocations: 100.7 kB / 0.5975 GB, free: 24.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01096/0.444, allocations: 3.213 MB / 0.6006 GB, free: 23.61 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.936e-05/0.4441, allocations: 8 kB / 0.6007 GB, free: 23.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4441, allocations: 0.75 kB / 0.6007 GB, free: 23.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.641e-05/0.4441, allocations: 4.5 kB / 0.6007 GB, free: 23.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01323/0.4573, allocations: 4.549 MB / 0.6051 GB, free: 21.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.516e-05/0.4574, allocations: 1.531 kB / 0.6051 GB, free: 21.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006738/0.4581, allocations: 98.94 kB / 0.6052 GB, free: 21.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004835/0.4629, allocations: 1.403 MB / 0.6066 GB, free: 21.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001463/0.4631, allocations: 23.39 kB / 0.6066 GB, free: 21.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01419/0.4773, allocations: 6.742 MB / 0.6132 GB, free: 16.45 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.4773, allocations: 0 / 0.6132 GB, free: 16.45 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01125/0.4886, allocations: 4.056 MB / 0.6171 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003398/0.489, allocations: 175.9 kB / 0.6173 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.4891, allocations: 12 kB / 0.6173 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008372/0.49, allocations: 80.97 kB / 0.6174 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004942/0.4905, allocations: 165.4 kB / 0.6175 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.347e-05/0.4905, allocations: 25.67 kB / 0.6176 GB, free: 11.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005394/0.4911, allocations: 0.5107 MB / 0.6181 GB, free: 11.39 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4911, allocations: 0 / 0.6181 GB, free: 11.39 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001099/0.4922, allocations: 359.5 kB / 0.6184 GB, free: 11.04 MB / 430.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.01131/0.5035, allocations: 4.626 MB / 0.6229 GB, free: 6.383 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005392/0.5089, allocations: 2.095 MB / 0.625 GB, free: 4.281 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.509, allocations: 0 / 0.625 GB, free: 4.281 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003442/0.5124, allocations: 1.294 MB / 0.6262 GB, free: 2.98 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007338/0.5132, allocations: 69.19 kB / 0.6263 GB, free: 2.918 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03031/0.5435, allocations: 13.07 MB / 0.6391 GB, free: 5.566 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005994/0.5441, allocations: 1.014 MB / 0.6401 GB, free: 4.527 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004376/0.5446, allocations: 88.05 kB / 0.6401 GB, free: 4.441 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004453/0.545, allocations: 339.3 kB / 0.6405 GB, free: 4.109 MB / 446.1 MB Notification: Performance of SimCode: time 1.122e-06/0.545, allocations: 0 / 0.6405 GB, free: 4.109 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0567/0.6017, allocations: 27.12 MB / 0.667 GB, free: 9.332 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/12.07, allocations: 14.56 kB / 0.667 GB, free: 9.324 MB / 478.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ.fmu > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1)