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.008286/0.008286, allocations: 103.3 kB / 15.73 MB, free: 6.047 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.353/1.353, allocations: 222.9 MB / 239.4 MB, free: 4.539 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.001329/0.001329, allocations: 188.5 kB / 289.7 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4511/0.4511, allocations: 78.53 MB / 418.4 MB, free: 3.109 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 72.09 kB / 0.5531 GB, free: 1.414 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3635, allocations: 68.18 MB / 0.6197 GB, free: 9.316 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery): time 0.004624/0.3681, allocations: 5.334 MB / 0.6249 GB, free: 4.773 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002606/0.3708, allocations: 1.634 MB / 0.6265 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004673/0.3713, allocations: 8 kB / 0.6265 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004156/0.3717, allocations: 182.4 kB / 0.6267 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001341/0.3731, allocations: 0.6413 MB / 0.6273 GB, free: 2.309 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000896/0.374, allocations: 0.5004 MB / 0.6278 GB, free: 1.812 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000883/0.3749, allocations: 1.094 MB / 0.6289 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003168/0.3752, allocations: 266.5 kB / 0.6291 GB, free: 452 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004239/0.3756, allocations: 469.9 kB / 0.6296 GB, free: 15.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006968/0.3763, allocations: 0.6145 MB / 0.6302 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.3765, allocations: 88 kB / 0.6303 GB, free: 15.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004092/0.3769, allocations: 215.9 kB / 0.6305 GB, free: 15.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001933/0.3771, allocations: 246.9 kB / 0.6307 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000367/0.3775, allocations: 0.5087 MB / 0.6312 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.3787, allocations: 1.259 MB / 0.6324 GB, free: 13.05 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3787, allocations: 4 kB / 0.6324 GB, free: 13.05 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3787, allocations: 0 / 0.6324 GB, free: 13.05 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.301e-05/0.3787, allocations: 0 / 0.6324 GB, free: 13.05 MB / 446.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.006855/0.3856, allocations: 2.175 MB / 0.6346 GB, free: 10.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3856, allocations: 8.031 kB / 0.6346 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000132/0.3858, allocations: 110.7 kB / 0.6347 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004063/0.3898, allocations: 0.639 MB / 0.6353 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.391, allocations: 0.6582 MB / 0.636 GB, free: 9.352 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001981/0.3912, allocations: 180 kB / 0.6361 GB, free: 9.148 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.3913, allocations: 60 kB / 0.6362 GB, free: 9.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/0.3932, allocations: 0.8887 MB / 0.6371 GB, free: 8.191 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.3932, allocations: 0 / 0.6371 GB, free: 8.191 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.552e-05/0.3933, allocations: 24 kB / 0.6371 GB, free: 8.168 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/0.3934, allocations: 19.94 kB / 0.6371 GB, free: 8.148 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/0.3954, allocations: 0.9264 MB / 0.638 GB, free: 7.223 MB / 446.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.004489/0.3999, allocations: 2.467 MB / 0.6404 GB, free: 4.652 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/0.4017, allocations: 1.112 MB / 0.6415 GB, free: 3.457 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/0.4031, allocations: 0.6601 MB / 0.6421 GB, free: 2.793 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.4032, allocations: 12.98 kB / 0.6421 GB, free: 2.781 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.4032, allocations: 39.56 kB / 0.6422 GB, free: 2.734 MB / 446.1 MB Notification: Performance of pre-optimization done (n=84): time 3.005e-06/0.4032, allocations: 0 / 0.6422 GB, free: 2.734 MB / 446.1 MB Notification: Performance of matching and sorting (n=84): time 0.02263/0.4259, allocations: 5.607 MB / 0.6477 GB, free: 13.09 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.489e-05/0.426, allocations: 64.39 kB / 0.6477 GB, free: 13.02 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.4271, allocations: 0.7513 MB / 0.6485 GB, free: 12.26 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002043/0.4273, allocations: 41.7 kB / 0.6485 GB, free: 12.21 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002958/0.4276, allocations: 400.8 kB / 0.6489 GB, free: 11.81 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003786/0.428, allocations: 295.6 kB / 0.6492 GB, free: 11.52 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004079/0.4284, allocations: 186.8 kB / 0.6493 GB, free: 11.33 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.4285, allocations: 345.9 kB / 0.6497 GB, free: 10.99 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.43, allocations: 0.6233 MB / 0.6503 GB, free: 10.36 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/0.4315, allocations: 0.731 MB / 0.651 GB, free: 9.609 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01762/0.4491, allocations: 4.19 MB / 0.6551 GB, free: 5.391 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.4492, allocations: 0 / 0.6551 GB, free: 5.391 MB / 462.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01232/0.4615, allocations: 3.536 MB / 0.6585 GB, free: 1.84 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.4616, allocations: 4 kB / 0.6585 GB, free: 1.836 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.4616, allocations: 4 kB / 0.6585 GB, free: 1.832 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005256/0.4669, allocations: 1.426 MB / 0.6599 GB, free: 412 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.468, allocations: 195.7 kB / 0.6601 GB, free: 216 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01911/0.4871, allocations: 8.124 MB / 0.6681 GB, free: 7.945 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.4885, allocations: 143.3 kB / 0.6682 GB, free: 7.805 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/0.4887, allocations: 39.92 kB / 0.6682 GB, free: 7.766 MB / 478.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.0005/0.4893, allocations: 228.5 kB / 0.6685 GB, free: 7.531 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002323/0.4895, allocations: 102.7 kB / 0.6685 GB, free: 7.43 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01136/0.5009, allocations: 3.356 MB / 0.6718 GB, free: 4.059 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/0.5009, allocations: 8 kB / 0.6718 GB, free: 4.051 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.5009, allocations: 3.984 kB / 0.6718 GB, free: 4.047 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.363e-05/0.501, allocations: 11.92 kB / 0.6718 GB, free: 4.035 MB / 478.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.01343/0.5144, allocations: 4.706 MB / 0.6764 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.5144, allocations: 0 / 0.6764 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006054/0.5151, allocations: 99.88 kB / 0.6765 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005439/0.5205, allocations: 1.475 MB / 0.678 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001472/0.5207, allocations: 16 kB / 0.678 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01709/0.5378, allocations: 7.464 MB / 0.6853 GB, free: 6.008 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5378, allocations: 0 / 0.6853 GB, free: 6.008 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01321/0.551, allocations: 4.201 MB / 0.6894 GB, free: 1.781 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003235/0.5514, allocations: 191.7 kB / 0.6896 GB, free: 1.574 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002209/0.5516, allocations: 16 kB / 0.6896 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009596/0.5526, allocations: 75.91 kB / 0.6897 GB, free: 1.484 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005931/0.5532, allocations: 176.8 kB / 0.6898 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.292e-05/0.5533, allocations: 19.94 kB / 0.6898 GB, free: 1.293 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000674/0.554, allocations: 0.5185 MB / 0.6904 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.554, allocations: 0 / 0.6904 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001286/0.5553, allocations: 367.7 kB / 0.6907 GB, free: 428 kB / 494.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.01356/0.5689, allocations: 4.777 MB / 0.6954 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006138/0.575, allocations: 2.1 MB / 0.6974 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.5751, allocations: 0 / 0.6974 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004232/0.5793, allocations: 1.341 MB / 0.6987 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000879/0.5802, allocations: 85.02 kB / 0.6988 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03447/0.6147, allocations: 12.94 MB / 0.7114 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000798/0.6156, allocations: 1.025 MB / 0.7124 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005006/0.6161, allocations: 97.66 kB / 0.7125 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005998/0.6167, allocations: 359.3 kB / 0.7129 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of SimCode: time 1.042e-06/0.6167, allocations: 0 / 0.7129 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06538/0.6821, allocations: 30.16 MB / 0.7423 GB, free: 11.41 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.56/15.25, allocations: 10.06 kB / 0.7423 GB, free: 11.4 MB / 0.545 GB (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)