Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09081/0.09081, allocations: 12.6 MB / 28.1 MB, free: 244 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001197, allocations: 107.5 kB / 31.7 MB, free: 3.484 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 205.1 MB / 240.3 MB, free: 12.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 188.5 kB / 290.5 MB, free: 13.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4375/0.4375, allocations: 78.51 MB / 419.2 MB, free: 11.38 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002784/0.002784, allocations: 136.9 kB / 499.9 MB, free: 10.74 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2896, allocations: 68.1 MB / 0.5547 GB, free: 32.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery): time 0.005552/0.2952, allocations: 5.375 MB / 0.5599 GB, free: 28.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003099/0.2984, allocations: 1.604 MB / 0.5615 GB, free: 27.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006873/0.2991, allocations: 8.406 kB / 0.5615 GB, free: 27.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005499/0.2997, allocations: 187.9 kB / 0.5617 GB, free: 27.33 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001772/0.3015, allocations: 0.6372 MB / 0.5623 GB, free: 26.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.3026, allocations: 0.4917 MB / 0.5628 GB, free: 26.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001189/0.3038, allocations: 1.091 MB / 0.5638 GB, free: 25.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004108/0.3042, allocations: 275.9 kB / 0.5641 GB, free: 25.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006006/0.3048, allocations: 460.8 kB / 0.5645 GB, free: 25.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006281/0.3055, allocations: 0.6184 MB / 0.5652 GB, free: 24.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001658/0.3056, allocations: 89.12 kB / 0.5652 GB, free: 24.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005149/0.3062, allocations: 226.8 kB / 0.5655 GB, free: 24.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001832/0.3064, allocations: 235.1 kB / 0.5657 GB, free: 24.72 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003935/0.3068, allocations: 0.5113 MB / 0.5662 GB, free: 24.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001174/0.3079, allocations: 1.243 MB / 0.5674 GB, free: 23.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.308, allocations: 0 / 0.5674 GB, free: 23.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.308, allocations: 0 / 0.5674 GB, free: 23.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.874e-05/0.308, allocations: 1.062 kB / 0.5674 GB, free: 23.41 MB / 398.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.006862/0.3149, allocations: 2.177 MB / 0.5695 GB, free: 22.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.3149, allocations: 13.86 kB / 0.5695 GB, free: 22.02 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001248/0.3151, allocations: 108.1 kB / 0.5696 GB, free: 21.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004245/0.3193, allocations: 0.6429 MB / 0.5703 GB, free: 21.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/0.3207, allocations: 0.6564 MB / 0.5709 GB, free: 21.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002082/0.3209, allocations: 178.8 kB / 0.5711 GB, free: 20.94 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.3211, allocations: 66.39 kB / 0.5711 GB, free: 20.92 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/0.323, allocations: 0.8841 MB / 0.572 GB, free: 20.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.323, allocations: 0 / 0.572 GB, free: 20.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.97e-05/0.3231, allocations: 21.19 kB / 0.572 GB, free: 20.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.3231, allocations: 18.19 kB / 0.572 GB, free: 20.4 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/0.3252, allocations: 0.9281 MB / 0.5729 GB, free: 19.96 MB / 398.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.004682/0.3299, allocations: 2.483 MB / 0.5754 GB, free: 18.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/0.3315, allocations: 1.11 MB / 0.5765 GB, free: 16.9 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/0.3327, allocations: 0.6601 MB / 0.5771 GB, free: 16.24 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.561e-05/0.3328, allocations: 16.97 kB / 0.5771 GB, free: 16.22 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.3328, allocations: 43.56 kB / 0.5772 GB, free: 16.17 MB / 398.1 MB Notification: Performance of pre-optimization done (n=84): time 2.454e-06/0.3328, allocations: 0 / 0.5772 GB, free: 16.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=84): time 0.02127/0.3541, allocations: 5.603 MB / 0.5826 GB, free: 10.54 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.3541, allocations: 64.41 kB / 0.5827 GB, free: 10.46 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000891/0.355, allocations: 0.7513 MB / 0.5834 GB, free: 9.699 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001952/0.3553, allocations: 41.7 kB / 0.5835 GB, free: 9.652 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/0.3555, allocations: 400.8 kB / 0.5838 GB, free: 9.254 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002408/0.3557, allocations: 299.6 kB / 0.5841 GB, free: 8.957 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003245/0.356, allocations: 190.8 kB / 0.5843 GB, free: 8.766 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 6.113e-05/0.3561, allocations: 341.9 kB / 0.5846 GB, free: 8.426 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/0.3573, allocations: 0.6233 MB / 0.5852 GB, free: 7.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/0.3585, allocations: 0.7349 MB / 0.586 GB, free: 7.043 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0162/0.3748, allocations: 4.194 MB / 0.5901 GB, free: 2.816 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.3748, allocations: 3.938 kB / 0.5901 GB, free: 2.812 MB / 398.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01081/0.3856, allocations: 3.54 MB / 0.5935 GB, free: 15.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.192e-05/0.3857, allocations: 4 kB / 0.5935 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.3857, allocations: 7.938 kB / 0.5935 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005449/0.3912, allocations: 1.43 MB / 0.5949 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.3923, allocations: 191.7 kB / 0.5951 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01887/0.4112, allocations: 8.139 MB / 0.6031 GB, free: 5.352 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.4127, allocations: 143.3 kB / 0.6032 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002041/0.4129, allocations: 35.98 kB / 0.6032 GB, free: 5.176 MB / 414.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.0005733/0.4135, allocations: 234 kB / 0.6035 GB, free: 4.938 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003192/0.4138, allocations: 102.7 kB / 0.6035 GB, free: 4.836 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/0.4255, allocations: 3.356 MB / 0.6068 GB, free: 1.465 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.072e-05/0.4256, allocations: 8 kB / 0.6068 GB, free: 1.457 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4256, allocations: 4 kB / 0.6068 GB, free: 1.453 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-05/0.4256, allocations: 11.92 kB / 0.6068 GB, free: 1.441 MB / 414.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.01482/0.4404, allocations: 4.705 MB / 0.6114 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.328e-05/0.4405, allocations: 0 / 0.6114 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006932/0.4412, allocations: 99.88 kB / 0.6115 GB, free: 12.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005726/0.4469, allocations: 1.476 MB / 0.613 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001797/0.4472, allocations: 15.94 kB / 0.613 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01799/0.4652, allocations: 7.483 MB / 0.6203 GB, free: 3.398 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.4652, allocations: 0 / 0.6203 GB, free: 3.398 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01358/0.4788, allocations: 4.197 MB / 0.6244 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003738/0.4792, allocations: 187.7 kB / 0.6246 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002904/0.4795, allocations: 16 kB / 0.6246 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.4806, allocations: 79.89 kB / 0.6247 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005815/0.4812, allocations: 176.7 kB / 0.6248 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.062e-05/0.4813, allocations: 23.98 kB / 0.6249 GB, free: 14.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006984/0.482, allocations: 0.5146 MB / 0.6254 GB, free: 14.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.482, allocations: 0 / 0.6254 GB, free: 14.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001304/0.4833, allocations: 375.5 kB / 0.6257 GB, free: 13.81 MB / 446.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.01399/0.4973, allocations: 4.773 MB / 0.6304 GB, free: 9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006428/0.5038, allocations: 2.14 MB / 0.6325 GB, free: 6.852 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.5038, allocations: 0 / 0.6325 GB, free: 6.852 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004284/0.5081, allocations: 1.341 MB / 0.6338 GB, free: 5.496 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.5092, allocations: 83.3 kB / 0.6339 GB, free: 5.414 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03517/0.5444, allocations: 13.37 MB / 0.6469 GB, free: 7.746 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007143/0.5451, allocations: 1.021 MB / 0.6479 GB, free: 6.695 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004723/0.5456, allocations: 97.66 kB / 0.648 GB, free: 6.598 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005333/0.5461, allocations: 363.3 kB / 0.6484 GB, free: 6.242 MB / 462.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5462, allocations: 0 / 0.6484 GB, free: 6.242 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0624/0.6086, allocations: 28.64 MB / 0.6763 GB, free: 9.668 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.26, allocations: 8.156 kB / 0.6763 GB, free: 9.66 MB / 494.1 MB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-05 OpenIPSL_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe 2>&1)