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.001283/0.001284, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.289/1.289, allocations: 222.9 MB / 239 MB, free: 4.738 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.001325/0.001325, allocations: 200.4 kB / 289.3 MB, free: 2.473 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4697/0.4697, allocations: 78.53 MB / 417.9 MB, free: 3.289 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 79.88 kB / 497 MB, free: 6.637 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1359, allocations: 68.17 MB / 0.552 GB, free: 2.43 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery): time 0.2145/0.3504, allocations: 5.593 MB / 0.5574 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00238/0.3529, allocations: 1.666 MB / 0.5591 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002984/0.3532, allocations: 7.844 kB / 0.5591 GB, free: 36.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003956/0.3536, allocations: 145.2 kB / 0.5592 GB, free: 36.25 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001123/0.3547, allocations: 0.5653 MB / 0.5598 GB, free: 36.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008129/0.3556, allocations: 468.2 kB / 0.5602 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007894/0.3564, allocations: 1.082 MB / 0.5613 GB, free: 35.99 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000325/0.3567, allocations: 276.3 kB / 0.5615 GB, free: 35.94 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003737/0.3571, allocations: 467.8 kB / 0.562 GB, free: 35.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004707/0.3576, allocations: 0.6145 MB / 0.5626 GB, free: 35.69 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.3577, allocations: 85.78 kB / 0.5626 GB, free: 35.69 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003099/0.358, allocations: 223.9 kB / 0.5629 GB, free: 35.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.3581, allocations: 246 kB / 0.5631 GB, free: 35.63 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002799/0.3584, allocations: 0.5035 MB / 0.5636 GB, free: 35.45 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000825/0.3593, allocations: 1.255 MB / 0.5648 GB, free: 35.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3593, allocations: 1.25 kB / 0.5648 GB, free: 35.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3593, allocations: 0 / 0.5648 GB, free: 35.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.3593, allocations: 1.734 kB / 0.5648 GB, free: 35.16 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.005846/0.3652, allocations: 2.171 MB / 0.5669 GB, free: 34.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.3652, allocations: 7.969 kB / 0.5669 GB, free: 34.36 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000115/0.3653, allocations: 111.6 kB / 0.567 GB, free: 34.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00376/0.3691, allocations: 0.6449 MB / 0.5677 GB, free: 34.25 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006817/0.3698, allocations: 0.651 MB / 0.5683 GB, free: 33.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/0.3699, allocations: 181.8 kB / 0.5685 GB, free: 33.78 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/0.37, allocations: 68.59 kB / 0.5686 GB, free: 33.78 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/0.3716, allocations: 0.8857 MB / 0.5694 GB, free: 33.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.3717, allocations: 0 / 0.5694 GB, free: 33.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.352e-05/0.3717, allocations: 23.91 kB / 0.5694 GB, free: 33.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.3717, allocations: 17.5 kB / 0.5695 GB, free: 33.72 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/0.3734, allocations: 0.9273 MB / 0.5704 GB, free: 33.72 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.003558/0.377, allocations: 2.48 MB / 0.5728 GB, free: 33.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/0.3785, allocations: 1.113 MB / 0.5739 GB, free: 32.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001073/0.3796, allocations: 0.6561 MB / 0.5745 GB, free: 32.64 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.779e-05/0.3797, allocations: 13.83 kB / 0.5745 GB, free: 32.63 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.3797, allocations: 47.94 kB / 0.5746 GB, free: 32.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 2.184e-06/0.3797, allocations: 0 / 0.5746 GB, free: 32.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.02092/0.4006, allocations: 5.597 MB / 0.58 GB, free: 31.85 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.4007, allocations: 60.91 kB / 0.5801 GB, free: 31.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.4018, allocations: 0.7553 MB / 0.5808 GB, free: 31.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001889/0.402, allocations: 40.02 kB / 0.5809 GB, free: 31.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.4022, allocations: 395 kB / 0.5812 GB, free: 31.11 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002291/0.4024, allocations: 305.8 kB / 0.5815 GB, free: 30.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003357/0.4028, allocations: 189.6 kB / 0.5817 GB, free: 30.78 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.454e-05/0.4028, allocations: 343.6 kB / 0.582 GB, free: 30.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/0.4041, allocations: 0.618 MB / 0.5827 GB, free: 30.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.4054, allocations: 0.7264 MB / 0.5834 GB, free: 29.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01662/0.4221, allocations: 4.209 MB / 0.5875 GB, free: 28.78 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.4221, allocations: 0 / 0.5875 GB, free: 28.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01132/0.4334, allocations: 3.531 MB / 0.5909 GB, free: 27.94 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.235e-05/0.4335, allocations: 7.281 kB / 0.5909 GB, free: 27.94 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.4335, allocations: 1.375 kB / 0.5909 GB, free: 27.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005046/0.4386, allocations: 1.436 MB / 0.5923 GB, free: 27.69 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.4396, allocations: 194.5 kB / 0.5925 GB, free: 27.68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01718/0.4568, allocations: 8.123 MB / 0.6004 GB, free: 23.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/0.4582, allocations: 144.4 kB / 0.6006 GB, free: 23.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002386/0.4584, allocations: 36.08 kB / 0.6006 GB, free: 23.5 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.0005687/0.459, allocations: 233.9 kB / 0.6008 GB, free: 23.33 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002569/0.4593, allocations: 101.5 kB / 0.6009 GB, free: 23.27 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01127/0.4706, allocations: 3.359 MB / 0.6042 GB, free: 22.51 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.747e-06/0.4706, allocations: 8.281 kB / 0.6042 GB, free: 22.51 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4706, allocations: 0 / 0.6042 GB, free: 22.51 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.4706, allocations: 11.05 kB / 0.6042 GB, free: 22.51 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.0121/0.4827, allocations: 4.714 MB / 0.6088 GB, free: 19.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.4828, allocations: 6.375 kB / 0.6088 GB, free: 19.96 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005724/0.4833, allocations: 99.5 kB / 0.6089 GB, free: 19.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005099/0.4884, allocations: 1.475 MB / 0.6104 GB, free: 19.29 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-05/0.4885, allocations: 15.98 kB / 0.6104 GB, free: 19.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01455/0.5031, allocations: 7.47 MB / 0.6177 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.5031, allocations: 0 / 0.6177 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01153/0.5147, allocations: 4.212 MB / 0.6218 GB, free: 7.422 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003244/0.5151, allocations: 187.6 kB / 0.622 GB, free: 7.219 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002881/0.5154, allocations: 12 kB / 0.622 GB, free: 7.207 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.5164, allocations: 91.89 kB / 0.6221 GB, free: 7.117 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005816/0.517, allocations: 164.8 kB / 0.6222 GB, free: 6.957 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.751e-05/0.5171, allocations: 24 kB / 0.6223 GB, free: 6.934 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000639/0.5177, allocations: 0.5107 MB / 0.6228 GB, free: 6.426 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.122e-06/0.5177, allocations: 0 / 0.6228 GB, free: 6.426 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001432/0.5192, allocations: 371.6 kB / 0.6231 GB, free: 6.062 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.01177/0.531, allocations: 4.781 MB / 0.6278 GB, free: 1.246 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005658/0.5367, allocations: 2.145 MB / 0.6299 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.5367, allocations: 0 / 0.6299 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003893/0.5406, allocations: 1.337 MB / 0.6312 GB, free: 13.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009596/0.5416, allocations: 78.61 kB / 0.6313 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03448/0.576, allocations: 13.68 MB / 0.6446 GB, free: 15.72 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007562/0.5768, allocations: 1.025 MB / 0.6456 GB, free: 14.66 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005272/0.5774, allocations: 93.72 kB / 0.6457 GB, free: 14.57 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005926/0.578, allocations: 371.3 kB / 0.6461 GB, free: 14.21 MB / 462.1 MB Notification: Performance of SimCode: time 1.092e-06/0.578, allocations: 0 / 0.6461 GB, free: 14.21 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05273/0.6307, allocations: 27.68 MB / 0.6731 GB, free: 2.945 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001943/0.631, allocations: 221.8 kB / 0.6733 GB, free: 2.691 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.458/3.089, allocations: 0 / 0.6733 GB, free: 2.691 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)