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.001243/0.001243, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.521/1.521, allocations: 223.2 MB / 238.9 MB, free: 5.598 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.001294/0.001294, allocations: 185 kB / 290.2 MB, free: 2.285 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4663/0.4663, allocations: 79.46 MB / 420.7 MB, free: 3.988 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003668, allocations: 11.98 kB / 0.4891 GB, free: 5.547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2973/0.2977, allocations: 69.5 MB / 0.557 GB, free: 37.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestMixed): time 0.003604/0.3013, allocations: 4.676 MB / 0.5615 GB, free: 37.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.3036, allocations: 1.609 MB / 0.5631 GB, free: 37.17 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002674/0.3038, allocations: 9.406 kB / 0.5631 GB, free: 37.17 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002925/0.3041, allocations: 130 kB / 0.5632 GB, free: 37.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001091/0.3052, allocations: 0.5699 MB / 0.5638 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007604/0.306, allocations: 434.9 kB / 0.5642 GB, free: 37.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007282/0.3068, allocations: 0.7106 MB / 0.5649 GB, free: 37 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002839/0.307, allocations: 220.5 kB / 0.5651 GB, free: 36.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000346/0.3074, allocations: 397.4 kB / 0.5655 GB, free: 36.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004761/0.3079, allocations: 0.53 MB / 0.566 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.484e-05/0.308, allocations: 44.75 kB / 0.566 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002775/0.3083, allocations: 159.4 kB / 0.5662 GB, free: 36.76 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.3084, allocations: 193 kB / 0.5664 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.3085, allocations: 183.6 kB / 0.5666 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006154/0.3091, allocations: 0.8864 MB / 0.5674 GB, free: 36.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.3092, allocations: 0 / 0.5674 GB, free: 36.49 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3092, allocations: 1.781 kB / 0.5674 GB, free: 36.49 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.3092, allocations: 0 / 0.5674 GB, free: 36.49 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.005801/0.315, allocations: 2.05 MB / 0.5694 GB, free: 35.72 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.315, allocations: 11.47 kB / 0.5694 GB, free: 35.72 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001408/0.3152, allocations: 107.2 kB / 0.5695 GB, free: 35.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003966/0.3191, allocations: 0.6467 MB / 0.5702 GB, free: 35.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008181/0.32, allocations: 0.6219 MB / 0.5708 GB, free: 35.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/0.3201, allocations: 183.3 kB / 0.571 GB, free: 35.16 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.3203, allocations: 71.27 kB / 0.571 GB, free: 35.16 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.3219, allocations: 0.9435 MB / 0.5719 GB, free: 35.11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.3219, allocations: 0 / 0.5719 GB, free: 35.11 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.776e-05/0.322, allocations: 20.97 kB / 0.572 GB, free: 35.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.322, allocations: 21.06 kB / 0.572 GB, free: 35.1 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001962/0.324, allocations: 1.006 MB / 0.573 GB, free: 34.99 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.003601/0.3276, allocations: 2.526 MB / 0.5754 GB, free: 33.67 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.3293, allocations: 1.185 MB / 0.5766 GB, free: 32.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.12e-05/0.3294, allocations: 18.02 kB / 0.5766 GB, free: 32.97 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.3295, allocations: 44.48 kB / 0.5767 GB, free: 32.92 MB / 430.1 MB Notification: Performance of pre-optimization done (n=83): time 2.354e-06/0.3295, allocations: 3.281 kB / 0.5767 GB, free: 32.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.02157/0.351, allocations: 6.676 MB / 0.5832 GB, free: 31.7 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.3511, allocations: 65.64 kB / 0.5832 GB, free: 31.64 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000935/0.3521, allocations: 0.7513 MB / 0.584 GB, free: 31.31 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001581/0.3522, allocations: 41.55 kB / 0.584 GB, free: 31.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.3525, allocations: 398.7 kB / 0.5844 GB, free: 30.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002429/0.3527, allocations: 307.1 kB / 0.5847 GB, free: 30.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-05/0.3528, allocations: 20.28 kB / 0.5847 GB, free: 30.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.628e-05/0.3529, allocations: 344.6 kB / 0.585 GB, free: 30.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/0.3542, allocations: 0.6803 MB / 0.5857 GB, free: 30.15 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/0.3556, allocations: 0.7893 MB / 0.5865 GB, free: 29.83 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/0.357, allocations: 0.7353 MB / 0.5872 GB, free: 29.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.357, allocations: 0 / 0.5872 GB, free: 29.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01239/0.3694, allocations: 4.39 MB / 0.5915 GB, free: 28.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.3695, allocations: 6.812 kB / 0.5915 GB, free: 28.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.3695, allocations: 1.219 kB / 0.5915 GB, free: 28.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006311/0.3758, allocations: 1.829 MB / 0.5933 GB, free: 28.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009229/0.3768, allocations: 181.5 kB / 0.5934 GB, free: 28.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0197/0.3965, allocations: 9.025 MB / 0.6023 GB, free: 24.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.3979, allocations: 174.1 kB / 0.6024 GB, free: 24.12 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.223e-05/0.398, allocations: 37.25 kB / 0.6025 GB, free: 24.12 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.0004068/0.3984, allocations: 233.1 kB / 0.6027 GB, free: 23.93 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001539/0.3986, allocations: 97.34 kB / 0.6028 GB, free: 23.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/0.4105, allocations: 4.138 MB / 0.6068 GB, free: 22.99 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/0.4106, allocations: 8.625 kB / 0.6068 GB, free: 22.99 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.4106, allocations: 0 / 0.6068 GB, free: 22.99 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.647e-05/0.4106, allocations: 7.016 kB / 0.6068 GB, free: 22.99 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.01357/0.4242, allocations: 5.518 MB / 0.6122 GB, free: 20.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-05/0.4243, allocations: 4 kB / 0.6122 GB, free: 20.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005789/0.4248, allocations: 104.4 kB / 0.6123 GB, free: 19.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005194/0.43, allocations: 1.783 MB / 0.6141 GB, free: 18.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/0.4302, allocations: 19.95 kB / 0.6141 GB, free: 18.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01434/0.4445, allocations: 7.771 MB / 0.6217 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4446, allocations: 1.062 kB / 0.6217 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01212/0.4567, allocations: 5.076 MB / 0.6266 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003103/0.457, allocations: 191.6 kB / 0.6268 GB, free: 4.973 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/0.4572, allocations: 12 kB / 0.6268 GB, free: 4.961 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008648/0.4581, allocations: 115.9 kB / 0.6269 GB, free: 4.848 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004511/0.4585, allocations: 172.7 kB / 0.6271 GB, free: 4.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.938e-05/0.4586, allocations: 23.95 kB / 0.6271 GB, free: 4.656 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005361/0.4591, allocations: 0.5107 MB / 0.6276 GB, free: 4.148 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4591, allocations: 0 / 0.6276 GB, free: 4.148 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001126/0.4603, allocations: 383.7 kB / 0.628 GB, free: 3.773 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.01302/0.4733, allocations: 5.653 MB / 0.6335 GB, free: 14.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006161/0.4795, allocations: 2.366 MB / 0.6358 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4795, allocations: 0 / 0.6358 GB, free: 11.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003991/0.4835, allocations: 1.502 MB / 0.6373 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005761/0.4841, allocations: 66.58 kB / 0.6373 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004195/0.4883, allocations: 3.56 MB / 0.6408 GB, free: 6.523 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005301/0.4889, allocations: 1.048 MB / 0.6418 GB, free: 5.445 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003101/0.4892, allocations: 93.34 kB / 0.6419 GB, free: 5.355 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005282/0.4897, allocations: 359.3 kB / 0.6423 GB, free: 5.004 MB / 446.1 MB Notification: Performance of SimCode: time 2.635e-06/0.4897, allocations: 0 / 0.6423 GB, free: 5.004 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04198/0.5317, allocations: 26.26 MB / 0.6679 GB, free: 11.15 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/0.5319, allocations: 203 kB / 0.6681 GB, free: 10.91 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.646/3.178, allocations: 0 / 0.6681 GB, free: 10.91 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: