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.0007772/0.0007773, allocations: 91.53 kB / 15.06 MB, free: 1.098 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.358/1.358, allocations: 223.2 MB / 239 MB, free: 5.453 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.001173/0.001173, allocations: 184.5 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4625/0.4625, allocations: 79.48 MB / 420.8 MB, free: 3.965 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004026/0.0004032, allocations: 12 kB / 0.4892 GB, free: 5.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3881, allocations: 69.5 MB / 0.5571 GB, free: 37.54 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestPQ): time 0.004707/0.3929, allocations: 4.809 MB / 0.5618 GB, free: 37.24 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003201/0.3961, allocations: 1.576 MB / 0.5633 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004552/0.3966, allocations: 9.219 kB / 0.5633 GB, free: 37.02 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003931/0.397, allocations: 132.1 kB / 0.5635 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.3983, allocations: 0.5175 MB / 0.564 GB, free: 36.81 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008837/0.3992, allocations: 428 kB / 0.5644 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009235/0.4001, allocations: 0.976 MB / 0.5653 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003477/0.4005, allocations: 216.5 kB / 0.5655 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000405/0.4009, allocations: 397.6 kB / 0.5659 GB, free: 36.42 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005275/0.4014, allocations: 0.5208 MB / 0.5664 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.614e-05/0.4015, allocations: 44.66 kB / 0.5665 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003425/0.4019, allocations: 168.6 kB / 0.5666 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.4021, allocations: 183.5 kB / 0.5668 GB, free: 36.22 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.4022, allocations: 178.1 kB / 0.567 GB, free: 36.16 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007085/0.4029, allocations: 0.8924 MB / 0.5678 GB, free: 35.99 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4029, allocations: 0.7812 kB / 0.5678 GB, free: 35.99 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4029, allocations: 0 / 0.5678 GB, free: 35.99 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.4029, allocations: 0.6875 kB / 0.5678 GB, free: 35.99 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.005388/0.4083, allocations: 2.01 MB / 0.5698 GB, free: 35.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.4084, allocations: 7.5 kB / 0.5698 GB, free: 35.23 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001662/0.4086, allocations: 110.2 kB / 0.5699 GB, free: 35.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003625/0.4122, allocations: 0.6434 MB / 0.5705 GB, free: 35.12 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008347/0.413, allocations: 0.6138 MB / 0.5711 GB, free: 34.81 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000169/0.4132, allocations: 182.4 kB / 0.5713 GB, free: 34.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.4134, allocations: 60.38 kB / 0.5714 GB, free: 34.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.4152, allocations: 0.9202 MB / 0.5723 GB, free: 34.63 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.4152, allocations: 2.859 kB / 0.5723 GB, free: 34.63 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.603e-05/0.4153, allocations: 23.88 kB / 0.5723 GB, free: 34.63 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.4153, allocations: 14.22 kB / 0.5723 GB, free: 34.63 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001723/0.417, allocations: 0.9714 MB / 0.5733 GB, free: 34.61 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.003697/0.4207, allocations: 2.477 MB / 0.5757 GB, free: 33.45 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/0.4221, allocations: 1.1 MB / 0.5768 GB, free: 32.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/0.4232, allocations: 0.6933 MB / 0.5774 GB, free: 32.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.735e-05/0.4233, allocations: 12.86 kB / 0.5774 GB, free: 32.53 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.4233, allocations: 38.25 kB / 0.5775 GB, free: 32.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=76): time 3.086e-06/0.4233, allocations: 0 / 0.5775 GB, free: 32.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=76): time 0.01929/0.4426, allocations: 6.785 MB / 0.5841 GB, free: 31.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.4427, allocations: 65.12 kB / 0.5842 GB, free: 31.24 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.4438, allocations: 0.754 MB / 0.5849 GB, free: 30.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001722/0.444, allocations: 46.2 kB / 0.585 GB, free: 30.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000264/0.4443, allocations: 395.9 kB / 0.5853 GB, free: 30.55 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/0.4445, allocations: 274 kB / 0.5856 GB, free: 30.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.007e-05/0.4446, allocations: 20.03 kB / 0.5856 GB, free: 30.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.05e-05/0.4447, allocations: 342.9 kB / 0.5859 GB, free: 30 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/0.4461, allocations: 0.6629 MB / 0.5866 GB, free: 29.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/0.4474, allocations: 0.7723 MB / 0.5873 GB, free: 29.46 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.4488, allocations: 0.7117 MB / 0.588 GB, free: 29.19 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.4488, allocations: 0 / 0.588 GB, free: 29.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.01101/0.4598, allocations: 4.233 MB / 0.5922 GB, free: 28.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.4599, allocations: 6.469 kB / 0.5922 GB, free: 28.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.4599, allocations: 1.125 kB / 0.5922 GB, free: 28.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005233/0.4652, allocations: 1.697 MB / 0.5938 GB, free: 27.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009924/0.4662, allocations: 181 kB / 0.594 GB, free: 27.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0182/0.4844, allocations: 7.964 MB / 0.6018 GB, free: 24.33 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.4858, allocations: 176.9 kB / 0.602 GB, free: 24.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-05/0.4859, allocations: 34.73 kB / 0.602 GB, free: 24.26 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {19 12} Notification: Performance of prepare postOptimizeDAE: time 0.0004442/0.4864, allocations: 222.8 kB / 0.6022 GB, free: 24.08 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/0.4865, allocations: 102.2 kB / 0.6023 GB, free: 24.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01108/0.4976, allocations: 3.948 MB / 0.6062 GB, free: 23.2 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/0.4977, allocations: 8.547 kB / 0.6062 GB, free: 23.2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4977, allocations: 0 / 0.6062 GB, free: 23.2 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.039e-05/0.4977, allocations: 4.719 kB / 0.6062 GB, free: 23.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01338/0.5111, allocations: 5.285 MB / 0.6113 GB, free: 20.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.5112, allocations: 4 kB / 0.6113 GB, free: 20.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005707/0.5118, allocations: 100.5 kB / 0.6114 GB, free: 20.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004323/0.5161, allocations: 1.661 MB / 0.613 GB, free: 19.24 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.5163, allocations: 15.98 kB / 0.6131 GB, free: 19.22 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01229/0.5286, allocations: 6.825 MB / 0.6197 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5286, allocations: 4 kB / 0.6197 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01065/0.5392, allocations: 4.85 MB / 0.6245 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00041/0.5397, allocations: 179.8 kB / 0.6246 GB, free: 7.191 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002542/0.54, allocations: 12 kB / 0.6246 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009304/0.5409, allocations: 123.9 kB / 0.6248 GB, free: 7.059 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005261/0.5415, allocations: 161.2 kB / 0.6249 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.912e-05/0.5415, allocations: 16 kB / 0.6249 GB, free: 6.887 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007093/0.5422, allocations: 0.5107 MB / 0.6254 GB, free: 6.379 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5423, allocations: 0 / 0.6254 GB, free: 6.379 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0014/0.5437, allocations: 359.5 kB / 0.6258 GB, free: 6.027 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {20 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01079/0.5545, allocations: 5.424 MB / 0.6311 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005529/0.56, allocations: 2.27 MB / 0.6333 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.5601, allocations: 0 / 0.6333 GB, free: 14.29 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003536/0.5636, allocations: 1.441 MB / 0.6347 GB, free: 12.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.5647, allocations: 75.31 kB / 0.6348 GB, free: 12.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02052/0.5852, allocations: 9.362 MB / 0.6439 GB, free: 3.195 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006948/0.586, allocations: 1.009 MB / 0.6449 GB, free: 2.156 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004991/0.5865, allocations: 93.45 kB / 0.645 GB, free: 2.066 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005493/0.5871, allocations: 335.3 kB / 0.6453 GB, free: 1.738 MB / 446.1 MB Notification: Performance of SimCode: time 7.81e-07/0.5871, allocations: 0 / 0.6453 GB, free: 1.738 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04921/0.6363, allocations: 24.41 MB / 0.6691 GB, free: 9.723 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001908/0.6366, allocations: 198.5 kB / 0.6693 GB, free: 9.48 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.381/3.018, allocations: 0 / 0.6693 GB, free: 9.48 MB / 478.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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestPQ.fmu > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestPQ.pipe 2>&1) Environment - environmentSimulation: