Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.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.LoadTestExpRecovery,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery",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.001095/0.001094, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.364/1.364, allocations: 222.9 MB / 238.8 MB, free: 4.711 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.001484/0.001484, allocations: 184.5 kB / 289.1 MB, free: 2.461 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.463/0.463, allocations: 78.53 MB / 417.8 MB, free: 3.332 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 79.88 kB / 496.9 MB, free: 6.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1398, allocations: 68.17 MB / 0.5518 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery): time 0.2737/0.4136, allocations: 5.592 MB / 0.5573 GB, free: 36.6 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003441/0.4171, allocations: 1.682 MB / 0.5589 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006812/0.4178, allocations: 12.5 kB / 0.5589 GB, free: 36.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000561/0.4184, allocations: 137.9 kB / 0.559 GB, free: 36.08 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001662/0.4201, allocations: 0.5603 MB / 0.5596 GB, free: 35.95 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.4212, allocations: 480.7 kB / 0.56 GB, free: 35.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00143/0.4226, allocations: 1.037 MB / 0.5611 GB, free: 35.83 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004343/0.4231, allocations: 243.5 kB / 0.5613 GB, free: 35.78 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007173/0.4238, allocations: 432.5 kB / 0.5617 GB, free: 35.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000622/0.4245, allocations: 0.5878 MB / 0.5623 GB, free: 35.53 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001192/0.4246, allocations: 54.12 kB / 0.5623 GB, free: 35.53 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004859/0.4251, allocations: 184.6 kB / 0.5625 GB, free: 35.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001931/0.4253, allocations: 218.4 kB / 0.5627 GB, free: 35.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003982/0.4257, allocations: 492.5 kB / 0.5632 GB, free: 35.29 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.4267, allocations: 1.214 MB / 0.5644 GB, free: 35 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.4267, allocations: 0 / 0.5644 GB, free: 35 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.4268, allocations: 3.75 kB / 0.5644 GB, free: 35 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.4268, allocations: 0 / 0.5644 GB, free: 35 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.007011/0.4338, allocations: 2.169 MB / 0.5665 GB, free: 34.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.4339, allocations: 8.781 kB / 0.5665 GB, free: 34.2 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001364/0.434, allocations: 108.6 kB / 0.5666 GB, free: 34.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004061/0.4381, allocations: 0.6463 MB / 0.5672 GB, free: 34.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.4392, allocations: 0.6548 MB / 0.5679 GB, free: 33.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001769/0.4394, allocations: 175.3 kB / 0.568 GB, free: 33.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000127/0.4395, allocations: 66.5 kB / 0.5681 GB, free: 33.62 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/0.4413, allocations: 0.8807 MB / 0.569 GB, free: 33.57 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.4414, allocations: 1.141 kB / 0.569 GB, free: 33.57 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-05/0.4414, allocations: 26.06 kB / 0.569 GB, free: 33.57 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.4415, allocations: 19.41 kB / 0.569 GB, free: 33.57 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001802/0.4433, allocations: 0.9294 MB / 0.5699 GB, free: 33.56 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.00428/0.4476, allocations: 2.491 MB / 0.5723 GB, free: 32.9 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/0.4492, allocations: 1.108 MB / 0.5734 GB, free: 32.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.4503, allocations: 0.6557 MB / 0.5741 GB, free: 32.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/0.4504, allocations: 16.7 kB / 0.5741 GB, free: 32.47 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.4505, allocations: 40.44 kB / 0.5741 GB, free: 32.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 2.565e-06/0.4505, allocations: 0 / 0.5741 GB, free: 32.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.02137/0.4718, allocations: 5.596 MB / 0.5796 GB, free: 31.87 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.4719, allocations: 60.84 kB / 0.5796 GB, free: 31.81 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/0.4734, allocations: 0.7518 MB / 0.5804 GB, free: 31.49 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003395/0.4737, allocations: 41.55 kB / 0.5804 GB, free: 31.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003107/0.474, allocations: 405.9 kB / 0.5808 GB, free: 31.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003818/0.4744, allocations: 304.5 kB / 0.5811 GB, free: 30.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004114/0.4748, allocations: 186.7 kB / 0.5813 GB, free: 30.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.475, allocations: 343.8 kB / 0.5816 GB, free: 30.47 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001434/0.4764, allocations: 0.6207 MB / 0.5822 GB, free: 30.26 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/0.4778, allocations: 0.7343 MB / 0.5829 GB, free: 29.94 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01723/0.4951, allocations: 4.186 MB / 0.587 GB, free: 28.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.4951, allocations: 0.8438 kB / 0.587 GB, free: 28.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01176/0.5069, allocations: 3.534 MB / 0.5905 GB, free: 27.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.5069, allocations: 5.875 kB / 0.5905 GB, free: 27.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.507, allocations: 3.219 kB / 0.5905 GB, free: 27.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005198/0.5122, allocations: 1.431 MB / 0.5919 GB, free: 27.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.5133, allocations: 196.5 kB / 0.5921 GB, free: 27.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01676/0.5301, allocations: 7.451 MB / 0.5993 GB, free: 24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.5315, allocations: 144.8 kB / 0.5995 GB, free: 23.94 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/0.5316, allocations: 36.53 kB / 0.5995 GB, free: 23.93 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 order3_Inputs_Outputs1.e1q:VARIABLE(start = order3_Inputs_Outputs1.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real exponentialRecovery.xp:VARIABLE(start = 0.0 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 (101): * Single equations (assignments): 100 * 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 {(18,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004661/0.5321, allocations: 227.4 kB / 0.5997 GB, free: 23.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/0.5323, allocations: 99.53 kB / 0.5998 GB, free: 23.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01191/0.5442, allocations: 3.366 MB / 0.6031 GB, free: 22.93 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.566e-05/0.5443, allocations: 13.23 kB / 0.6031 GB, free: 22.93 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.5443, allocations: 0 / 0.6031 GB, free: 22.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-05/0.5443, allocations: 5.547 kB / 0.6031 GB, free: 22.93 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.01339/0.5577, allocations: 4.708 MB / 0.6077 GB, free: 20.51 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.5578, allocations: 1.875 kB / 0.6077 GB, free: 20.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007122/0.5585, allocations: 102.2 kB / 0.6078 GB, free: 20.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005143/0.5636, allocations: 1.465 MB / 0.6093 GB, free: 19.85 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001616/0.5638, allocations: 15.69 kB / 0.6093 GB, free: 19.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01373/0.5776, allocations: 6.788 MB / 0.6159 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.5776, allocations: 0 / 0.6159 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01151/0.5891, allocations: 4.208 MB / 0.62 GB, free: 9.086 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003352/0.5895, allocations: 181.9 kB / 0.6202 GB, free: 8.891 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.5896, allocations: 16 kB / 0.6202 GB, free: 8.875 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008442/0.5905, allocations: 87.91 kB / 0.6203 GB, free: 8.789 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005402/0.591, allocations: 168.6 kB / 0.6204 GB, free: 8.621 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.188e-05/0.5911, allocations: 20 kB / 0.6205 GB, free: 8.602 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005492/0.5917, allocations: 0.5107 MB / 0.621 GB, free: 8.094 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5917, allocations: 0 / 0.621 GB, free: 8.094 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001174/0.5928, allocations: 367.7 kB / 0.6213 GB, free: 7.734 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,exponentialRecovery.xp,exponentialRecovery.xq) * 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 (52): * Single equations (assignments): 51 * 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,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01186/0.6047, allocations: 4.788 MB / 0.626 GB, free: 2.918 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005133/0.6099, allocations: 2.064 MB / 0.628 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.6099, allocations: 0 / 0.628 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003572/0.6135, allocations: 1.311 MB / 0.6293 GB, free: 15.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008912/0.6144, allocations: 77.83 kB / 0.6294 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03175/0.6462, allocations: 13.69 MB / 0.6427 GB, free: 1.484 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005638/0.6468, allocations: 1.025 MB / 0.6437 GB, free: 444 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000439/0.6472, allocations: 92.5 kB / 0.6438 GB, free: 352 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004723/0.6477, allocations: 361.1 kB / 0.6442 GB, free: 15.99 MB / 462.1 MB Notification: Performance of SimCode: time 5.81e-07/0.6477, allocations: 0 / 0.6442 GB, free: 15.99 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04379/0.6915, allocations: 26.51 MB / 0.67 GB, free: 5.859 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/0.6917, allocations: 219.4 kB / 0.6703 GB, free: 5.602 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.584/3.276, allocations: 3.938 kB / 0.6703 GB, free: 5.598 MB / 478.1 MB (rm -f OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery.fmu > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe 2>&1)