Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.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.LoadTestMixed,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed",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.0008945/0.0008948, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.335/1.335, allocations: 223.2 MB / 239 MB, free: 5.52 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.001168/0.001168, allocations: 176.5 kB / 290.3 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4537/0.4537, allocations: 79.48 MB / 420.8 MB, free: 3.891 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.0003849, allocations: 12 kB / 0.4892 GB, free: 5.492 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4324/0.4328, allocations: 69.51 MB / 0.5571 GB, free: 37.44 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.004639/0.4375, allocations: 4.897 MB / 0.5619 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003066/0.4406, allocations: 1.579 MB / 0.5634 GB, free: 36.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003733/0.441, allocations: 14.75 kB / 0.5634 GB, free: 36.9 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003803/0.4414, allocations: 132.7 kB / 0.5636 GB, free: 36.85 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001308/0.4427, allocations: 0.52 MB / 0.5641 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008932/0.4436, allocations: 435.8 kB / 0.5645 GB, free: 36.68 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008775/0.4445, allocations: 0.9936 MB / 0.5655 GB, free: 36.43 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000327/0.4448, allocations: 213.8 kB / 0.5657 GB, free: 36.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004007/0.4452, allocations: 402.5 kB / 0.566 GB, free: 36.29 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005298/0.4457, allocations: 0.5466 MB / 0.5666 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.889e-05/0.4458, allocations: 45.44 kB / 0.5666 GB, free: 36.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000325/0.4462, allocations: 166.9 kB / 0.5668 GB, free: 36.13 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.4463, allocations: 194.1 kB / 0.567 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.4465, allocations: 184.1 kB / 0.5671 GB, free: 36 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007949/0.4473, allocations: 0.9177 MB / 0.568 GB, free: 35.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4473, allocations: 6.812 kB / 0.568 GB, free: 35.83 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4473, allocations: 0.6562 kB / 0.568 GB, free: 35.83 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.4473, allocations: 0 / 0.568 GB, free: 35.83 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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.005651/0.453, allocations: 2.053 MB / 0.57 GB, free: 35.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.453, allocations: 9.469 kB / 0.5701 GB, free: 35.07 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001649/0.4532, allocations: 109.6 kB / 0.5702 GB, free: 35.03 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003622/0.4568, allocations: 0.648 MB / 0.5708 GB, free: 34.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008512/0.4577, allocations: 0.6154 MB / 0.5714 GB, free: 34.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001669/0.4579, allocations: 184.8 kB / 0.5716 GB, free: 34.51 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.458, allocations: 66.31 kB / 0.5716 GB, free: 34.51 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.4598, allocations: 0.9467 MB / 0.5726 GB, free: 34.45 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.4598, allocations: 0 / 0.5726 GB, free: 34.45 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.98e-05/0.4599, allocations: 26.81 kB / 0.5726 GB, free: 34.45 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.4599, allocations: 17.31 kB / 0.5726 GB, free: 34.45 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001782/0.4617, allocations: 0.996 MB / 0.5736 GB, free: 34.45 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.003792/0.4655, allocations: 2.545 MB / 0.5761 GB, free: 33.38 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001661/0.4671, allocations: 1.185 MB / 0.5772 GB, free: 32.69 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.4683, allocations: 0.7213 MB / 0.5779 GB, free: 32.42 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.138e-05/0.4684, allocations: 9.688 kB / 0.5779 GB, free: 32.42 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.4684, allocations: 42.06 kB / 0.578 GB, free: 32.38 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.595e-06/0.4684, allocations: 0 / 0.578 GB, free: 32.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.01964/0.4881, allocations: 6.685 MB / 0.5845 GB, free: 31.15 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.4881, allocations: 64.11 kB / 0.5846 GB, free: 31.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.4892, allocations: 0.7505 MB / 0.5853 GB, free: 30.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001478/0.4893, allocations: 43.33 kB / 0.5853 GB, free: 30.72 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/0.4896, allocations: 401.1 kB / 0.5857 GB, free: 30.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002704/0.4899, allocations: 301.8 kB / 0.586 GB, free: 30.17 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.021e-05/0.4899, allocations: 20.5 kB / 0.586 GB, free: 30.15 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.989e-05/0.49, allocations: 344.5 kB / 0.5864 GB, free: 29.83 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.4914, allocations: 0.6804 MB / 0.587 GB, free: 29.61 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001375/0.4927, allocations: 0.7931 MB / 0.5878 GB, free: 29.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/0.4942, allocations: 0.7341 MB / 0.5885 GB, free: 29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.4942, allocations: 5.281 kB / 0.5885 GB, free: 28.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01155/0.5058, allocations: 4.396 MB / 0.5928 GB, free: 28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.5058, allocations: 6.75 kB / 0.5928 GB, free: 28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.5058, allocations: 7.75 kB / 0.5928 GB, free: 28 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006123/0.512, allocations: 1.816 MB / 0.5946 GB, free: 27.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009635/0.513, allocations: 183.5 kB / 0.5948 GB, free: 27.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02025/0.5332, allocations: 8.627 MB / 0.6032 GB, free: 23.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/0.5347, allocations: 178.4 kB / 0.6034 GB, free: 23.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002525/0.535, allocations: 38 kB / 0.6034 GB, free: 23.7 MB / 430.1 MB Warning: Assuming fixed start value for the following 3 variables: order3_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real mixed.y:VARIABLE(start = 0.0 fixed = true protected = true ) type: Real mixed.x:VARIABLE(start = -mixed.v_0 / mixed.Tfv fixed = true protected = true ) 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.000684/0.5357, allocations: 229.1 kB / 0.6036 GB, free: 23.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000308/0.536, allocations: 101.6 kB / 0.6037 GB, free: 23.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01204/0.548, allocations: 4.144 MB / 0.6078 GB, free: 22.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.029e-05/0.5481, allocations: 7.562 kB / 0.6078 GB, free: 22.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.5481, allocations: 1.125 kB / 0.6078 GB, free: 22.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.962e-05/0.5482, allocations: 4.219 kB / 0.6078 GB, free: 22.57 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 postOpt removeSimpleEquations (simulation): time 0.01377/0.5619, allocations: 5.511 MB / 0.6132 GB, free: 19.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/0.562, allocations: 4.625 kB / 0.6132 GB, free: 19.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000578/0.5626, allocations: 107.9 kB / 0.6133 GB, free: 18.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005005/0.5676, allocations: 1.772 MB / 0.615 GB, free: 17.14 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001287/0.5678, allocations: 19.95 kB / 0.615 GB, free: 17.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01351/0.5813, allocations: 7.389 MB / 0.6222 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5813, allocations: 4 kB / 0.6222 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01163/0.593, allocations: 5.072 MB / 0.6272 GB, free: 4.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003451/0.5933, allocations: 195.6 kB / 0.6274 GB, free: 4.289 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002351/0.5936, allocations: 12 kB / 0.6274 GB, free: 4.277 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008852/0.5945, allocations: 119.9 kB / 0.6275 GB, free: 4.16 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005254/0.595, allocations: 169.4 kB / 0.6277 GB, free: 3.996 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.85e-05/0.5951, allocations: 27.98 kB / 0.6277 GB, free: 3.969 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006333/0.5958, allocations: 0.5078 MB / 0.6282 GB, free: 3.465 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5958, allocations: 0 / 0.6282 GB, free: 3.465 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001381/0.5972, allocations: 379.7 kB / 0.6285 GB, free: 3.094 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (order3_Inputs_Outputs1.delta,order3_Inputs_Outputs1.w,order3_Inputs_Outputs1.e1q,mixed.x,mixed.y) * 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 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.01244/0.6096, allocations: 5.659 MB / 0.6341 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005947/0.6156, allocations: 2.358 MB / 0.6364 GB, free: 11.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.6156, allocations: 3.938 kB / 0.6364 GB, free: 11.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003825/0.6195, allocations: 1.506 MB / 0.6379 GB, free: 9.508 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.6206, allocations: 75.3 kB / 0.6379 GB, free: 9.438 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02162/0.6422, allocations: 9.774 MB / 0.6475 GB, free: 15.44 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006728/0.6429, allocations: 1.029 MB / 0.6485 GB, free: 14.39 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004597/0.6434, allocations: 92.48 kB / 0.6486 GB, free: 14.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005251/0.644, allocations: 355.9 kB / 0.6489 GB, free: 13.95 MB / 462.1 MB Notification: Performance of SimCode: time 3.025e-06/0.644, allocations: 0 / 0.6489 GB, free: 13.95 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06196/0.7059, allocations: 26.82 MB / 0.6751 GB, free: 3.543 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/0.7062, allocations: 209.7 kB / 0.6753 GB, free: 3.297 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.479/3.185, allocations: 0 / 0.6753 GB, free: 3.297 MB / 478.1 MB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_dev_OpenIPSL_Tests_Loads_PSAT_LoadTestMixed.fmu > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestMixed.pipe 2>&1) Environment - environmentSimulation: