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.001181/0.001181, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 239.3 MB, free: 4.59 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.001288/0.001288, allocations: 200.4 kB / 289.6 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4455/0.4455, allocations: 78.53 MB / 418.2 MB, free: 3.215 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 79.88 kB / 497.5 MB, free: 6.305 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1262, allocations: 68.18 MB / 0.5525 GB, free: 2.086 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery): time 0.2199/0.3461, allocations: 5.333 MB / 0.5577 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003617/0.3498, allocations: 1.638 MB / 0.5593 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.3508, allocations: 9.781 kB / 0.5593 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000837/0.3517, allocations: 178.2 kB / 0.5595 GB, free: 36.27 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002229/0.354, allocations: 0.6341 MB / 0.5601 GB, free: 36.13 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.3551, allocations: 0.4932 MB / 0.5606 GB, free: 36.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001255/0.3564, allocations: 1.092 MB / 0.5616 GB, free: 36.01 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004081/0.3568, allocations: 260 kB / 0.5619 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006901/0.3575, allocations: 468.3 kB / 0.5623 GB, free: 35.86 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006973/0.3582, allocations: 0.6077 MB / 0.5629 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.3584, allocations: 85.59 kB / 0.563 GB, free: 35.71 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005065/0.3589, allocations: 225.8 kB / 0.5632 GB, free: 35.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002056/0.3591, allocations: 250.5 kB / 0.5635 GB, free: 35.65 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003805/0.3595, allocations: 0.5037 MB / 0.5639 GB, free: 35.47 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001282/0.3608, allocations: 1.249 MB / 0.5652 GB, free: 35.19 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3608, allocations: 0.9688 kB / 0.5652 GB, free: 35.19 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3608, allocations: 0 / 0.5652 GB, free: 35.19 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.3609, allocations: 1.438 kB / 0.5652 GB, free: 35.19 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.006456/0.3673, allocations: 2.175 MB / 0.5673 GB, free: 34.38 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/0.3674, allocations: 10.06 kB / 0.5673 GB, free: 34.38 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001271/0.3675, allocations: 107 kB / 0.5674 GB, free: 34.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003984/0.3715, allocations: 0.6466 MB / 0.568 GB, free: 34.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008923/0.3724, allocations: 0.6537 MB / 0.5687 GB, free: 33.93 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/0.3726, allocations: 180.7 kB / 0.5688 GB, free: 33.8 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.3727, allocations: 65.5 kB / 0.5689 GB, free: 33.8 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/0.3744, allocations: 0.8789 MB / 0.5698 GB, free: 33.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.3744, allocations: 1.125 kB / 0.5698 GB, free: 33.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.959e-05/0.3745, allocations: 28.78 kB / 0.5698 GB, free: 33.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.3745, allocations: 18.91 kB / 0.5698 GB, free: 33.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/0.3763, allocations: 0.9283 MB / 0.5707 GB, free: 33.74 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.003972/0.3803, allocations: 2.485 MB / 0.5731 GB, free: 33.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/0.3819, allocations: 1.116 MB / 0.5742 GB, free: 32.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/0.3831, allocations: 0.6572 MB / 0.5749 GB, free: 32.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.441e-05/0.3831, allocations: 9.656 kB / 0.5749 GB, free: 32.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.3832, allocations: 45.22 kB / 0.5749 GB, free: 32.62 MB / 430.1 MB Notification: Performance of pre-optimization done (n=84): time 3.296e-06/0.3832, allocations: 0 / 0.5749 GB, free: 32.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=84): time 0.02106/0.4043, allocations: 5.597 MB / 0.5804 GB, free: 31.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.4043, allocations: 61.88 kB / 0.5805 GB, free: 31.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009814/0.4053, allocations: 0.7524 MB / 0.5812 GB, free: 31.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001933/0.4055, allocations: 41.39 kB / 0.5812 GB, free: 31.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/0.4057, allocations: 401.2 kB / 0.5816 GB, free: 31.14 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002498/0.406, allocations: 303.9 kB / 0.5819 GB, free: 30.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003367/0.4063, allocations: 188.4 kB / 0.5821 GB, free: 30.81 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.032e-05/0.4064, allocations: 344.5 kB / 0.5824 GB, free: 30.49 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.4078, allocations: 0.6223 MB / 0.583 GB, free: 30.27 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/0.4092, allocations: 0.7295 MB / 0.5837 GB, free: 29.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01719/0.4264, allocations: 4.201 MB / 0.5878 GB, free: 28.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.4265, allocations: 1.469 kB / 0.5878 GB, free: 28.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01182/0.4383, allocations: 3.53 MB / 0.5913 GB, free: 27.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.4384, allocations: 6.125 kB / 0.5913 GB, free: 27.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.4384, allocations: 2.75 kB / 0.5913 GB, free: 27.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005419/0.4438, allocations: 1.434 MB / 0.5927 GB, free: 27.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.445, allocations: 194.7 kB / 0.5929 GB, free: 27.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01932/0.4643, allocations: 8.129 MB / 0.6008 GB, free: 23.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.4658, allocations: 140.8 kB / 0.6009 GB, free: 23.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.466, allocations: 36.61 kB / 0.601 GB, free: 23.47 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.0004677/0.4664, allocations: 231.8 kB / 0.6012 GB, free: 23.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.4666, allocations: 105.9 kB / 0.6013 GB, free: 23.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01146/0.4781, allocations: 3.362 MB / 0.6046 GB, free: 22.44 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.4782, allocations: 8.031 kB / 0.6046 GB, free: 22.44 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.4782, allocations: 0.6562 kB / 0.6046 GB, free: 22.44 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.312e-05/0.4782, allocations: 9.422 kB / 0.6046 GB, free: 22.43 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.01262/0.4908, allocations: 4.705 MB / 0.6092 GB, free: 19.68 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.29e-05/0.4909, allocations: 6.312 kB / 0.6092 GB, free: 19.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006511/0.4915, allocations: 103.3 kB / 0.6093 GB, free: 19.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005319/0.4969, allocations: 1.472 MB / 0.6107 GB, free: 19.01 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001705/0.4971, allocations: 15.88 kB / 0.6108 GB, free: 19 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01499/0.5121, allocations: 7.478 MB / 0.6181 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.5121, allocations: 0.5469 kB / 0.6181 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01209/0.5242, allocations: 4.216 MB / 0.6222 GB, free: 7.207 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003566/0.5246, allocations: 179.7 kB / 0.6223 GB, free: 7.012 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001574/0.5248, allocations: 20.98 kB / 0.6224 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008771/0.5257, allocations: 83.91 kB / 0.6224 GB, free: 6.91 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005327/0.5262, allocations: 172.8 kB / 0.6226 GB, free: 6.742 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.888e-05/0.5263, allocations: 20 kB / 0.6226 GB, free: 6.723 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005364/0.5268, allocations: 0.5107 MB / 0.6231 GB, free: 6.215 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5268, allocations: 0 / 0.6231 GB, free: 6.215 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001102/0.5279, allocations: 369.4 kB / 0.6235 GB, free: 5.855 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.01219/0.5401, allocations: 4.778 MB / 0.6281 GB, free: 1.043 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005913/0.5461, allocations: 2.141 MB / 0.6302 GB, free: 14.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.5461, allocations: 4 kB / 0.6302 GB, free: 14.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004057/0.5502, allocations: 1.342 MB / 0.6316 GB, free: 13.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007632/0.551, allocations: 76 kB / 0.6316 GB, free: 13.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03313/0.5841, allocations: 13.37 MB / 0.6447 GB, free: 15.82 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005963/0.5847, allocations: 1.025 MB / 0.6457 GB, free: 14.77 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004417/0.5852, allocations: 92.64 kB / 0.6458 GB, free: 14.68 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004808/0.5857, allocations: 363.3 kB / 0.6461 GB, free: 14.32 MB / 462.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5857, allocations: 0 / 0.6461 GB, free: 14.32 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05791/0.6436, allocations: 28.63 MB / 0.6741 GB, free: 2.047 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/12.06, allocations: 8 kB / 0.6741 GB, free: 2.039 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 & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.03 OpenIPSL_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery.fmu > OpenIPSL_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe 2>&1)