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.07706/0.07706, allocations: 12.59 MB / 28.22 MB, free: 0.7383 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 111.4 kB / 31.84 MB, free: 3.887 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.29/1.29, allocations: 205.1 MB / 240.4 MB, free: 12.38 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.001414/0.001414, allocations: 184.5 kB / 290.7 MB, free: 13.4 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4048/0.4048, allocations: 78.52 MB / 419.3 MB, free: 11.25 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.003729/0.003729, allocations: 146.6 kB / 0.5554 GB, free: 28.89 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1123, allocations: 68.13 MB / 0.6219 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery): time 0.006259/0.1186, allocations: 5.379 MB / 0.6272 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002808/0.1214, allocations: 1.603 MB / 0.6287 GB, free: 8.895 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002409/0.1217, allocations: 8 kB / 0.6288 GB, free: 8.887 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004195/0.1221, allocations: 178.4 kB / 0.6289 GB, free: 8.711 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001331/0.1234, allocations: 0.6367 MB / 0.6295 GB, free: 8.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009489/0.1244, allocations: 0.5037 MB / 0.63 GB, free: 7.574 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001071/0.1255, allocations: 1.09 MB / 0.6311 GB, free: 6.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003874/0.1259, allocations: 270.7 kB / 0.6314 GB, free: 6.203 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004884/0.1264, allocations: 470 kB / 0.6318 GB, free: 5.742 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007016/0.1271, allocations: 0.6106 MB / 0.6324 GB, free: 5.129 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000132/0.1272, allocations: 84 kB / 0.6325 GB, free: 5.047 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003754/0.1276, allocations: 219.8 kB / 0.6327 GB, free: 4.832 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002302/0.1278, allocations: 243 kB / 0.6329 GB, free: 4.594 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004471/0.1283, allocations: 0.5048 MB / 0.6334 GB, free: 4.086 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001306/0.1296, allocations: 1.28 MB / 0.6347 GB, free: 2.801 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1296, allocations: 0 / 0.6347 GB, free: 2.801 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1296, allocations: 0 / 0.6347 GB, free: 2.801 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.1296, allocations: 0 / 0.6347 GB, free: 2.801 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.006532/0.1362, allocations: 2.2 MB / 0.6368 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.1362, allocations: 15.98 kB / 0.6368 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001347/0.1364, allocations: 102.7 kB / 0.6369 GB, free: 432 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003957/0.1404, allocations: 0.6552 MB / 0.6376 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008748/0.1412, allocations: 0.659 MB / 0.6382 GB, free: 15.06 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002048/0.1414, allocations: 172.1 kB / 0.6384 GB, free: 14.87 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.1416, allocations: 71.95 kB / 0.6384 GB, free: 14.8 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/0.1434, allocations: 0.8809 MB / 0.6393 GB, free: 13.91 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.1435, allocations: 11.92 kB / 0.6393 GB, free: 13.9 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.671e-05/0.1436, allocations: 24 kB / 0.6393 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.1436, allocations: 23.94 kB / 0.6394 GB, free: 13.85 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.1456, allocations: 0.9225 MB / 0.6403 GB, free: 12.93 MB / 462.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.004112/0.1497, allocations: 2.471 MB / 0.6427 GB, free: 10.35 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/0.1516, allocations: 1.109 MB / 0.6438 GB, free: 9.168 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/0.153, allocations: 0.6654 MB / 0.6444 GB, free: 8.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.001e-05/0.1531, allocations: 9 kB / 0.6444 GB, free: 8.488 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.1531, allocations: 43.56 kB / 0.6445 GB, free: 8.438 MB / 462.1 MB Notification: Performance of pre-optimization done (n=84): time 2.485e-06/0.1531, allocations: 0 / 0.6445 GB, free: 8.438 MB / 462.1 MB Notification: Performance of matching and sorting (n=84): time 0.02242/0.1756, allocations: 5.604 MB / 0.6499 GB, free: 2.805 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.1756, allocations: 64.34 kB / 0.65 GB, free: 2.727 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.1766, allocations: 0.7592 MB / 0.6507 GB, free: 1.961 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001344/0.1768, allocations: 45.64 kB / 0.6508 GB, free: 1.91 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003185/0.1771, allocations: 401.2 kB / 0.6512 GB, free: 1.512 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003232/0.1774, allocations: 321.2 kB / 0.6515 GB, free: 1.195 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003873/0.1778, allocations: 186.9 kB / 0.6516 GB, free: 1.008 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.178, allocations: 345.9 kB / 0.652 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/0.1794, allocations: 0.6194 MB / 0.6526 GB, free: 44 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/0.1809, allocations: 0.731 MB / 0.6533 GB, free: 15.29 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01737/0.1983, allocations: 4.186 MB / 0.6574 GB, free: 11.07 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1983, allocations: 0 / 0.6574 GB, free: 11.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01159/0.2099, allocations: 3.544 MB / 0.6608 GB, free: 7.516 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.21, allocations: 10.81 kB / 0.6609 GB, free: 7.508 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.21, allocations: 0 / 0.6609 GB, free: 7.508 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005328/0.2153, allocations: 1.43 MB / 0.6623 GB, free: 6.074 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009875/0.2163, allocations: 199.7 kB / 0.6624 GB, free: 5.879 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01889/0.2352, allocations: 8.126 MB / 0.6704 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.2365, allocations: 151.3 kB / 0.6705 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.233e-05/0.2366, allocations: 35.98 kB / 0.6706 GB, free: 13.43 MB / 494.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.0004275/0.237, allocations: 227.6 kB / 0.6708 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.2372, allocations: 111.3 kB / 0.6709 GB, free: 13.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01136/0.2486, allocations: 3.353 MB / 0.6742 GB, free: 9.723 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.2486, allocations: 8 kB / 0.6742 GB, free: 9.715 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.826e-06/0.2486, allocations: 0 / 0.6742 GB, free: 9.715 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.2486, allocations: 7.922 kB / 0.6742 GB, free: 9.707 MB / 494.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.01317/0.2618, allocations: 4.714 MB / 0.6788 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.2618, allocations: 0 / 0.6788 GB, free: 4.879 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005817/0.2624, allocations: 99.88 kB / 0.6789 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00544/0.2679, allocations: 1.464 MB / 0.6803 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.268, allocations: 23.98 kB / 0.6803 GB, free: 3.289 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01784/0.2858, allocations: 7.477 MB / 0.6876 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2859, allocations: 0 / 0.6876 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01346/0.2993, allocations: 4.206 MB / 0.6917 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002983/0.2996, allocations: 196.2 kB / 0.6919 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.2998, allocations: 16 kB / 0.6919 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008578/0.3006, allocations: 87.89 kB / 0.692 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005342/0.3012, allocations: 164.8 kB / 0.6922 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-05/0.3013, allocations: 27.98 kB / 0.6922 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006357/0.3019, allocations: 0.5068 MB / 0.6927 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3019, allocations: 0 / 0.6927 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001017/0.3029, allocations: 371.7 kB / 0.693 GB, free: 6.066 MB / 0.4981 GB 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.01372/0.3167, allocations: 4.789 MB / 0.6977 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005687/0.3224, allocations: 2.095 MB / 0.6998 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.3224, allocations: 4 kB / 0.6998 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003985/0.3264, allocations: 1.345 MB / 0.7011 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006841/0.3271, allocations: 91.08 kB / 0.7012 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03251/0.3596, allocations: 12.99 MB / 0.7139 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2152/0.5748, allocations: 1.019 MB / 0.7149 GB, free: 86.55 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004201/0.5753, allocations: 90.8 kB / 0.7149 GB, free: 86.55 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004546/0.5757, allocations: 364.3 kB / 0.7153 GB, free: 86.54 MB / 0.5137 GB Notification: Performance of SimCode: time 7.12e-07/0.5757, allocations: 0 / 0.7153 GB, free: 86.54 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0611/0.6368, allocations: 29 MB / 0.7436 GB, free: 75.08 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/14.82, allocations: 8.547 kB / 0.7436 GB, free: 75.08 MB / 0.5137 GB (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 & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_Loads_PSAT_LoadTestExpRecovery.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe 2>&1)