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.08534/0.08534, allocations: 12.59 MB / 28.22 MB, free: 0.7656 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.001152/0.001152, allocations: 111.4 kB / 31.84 MB, free: 3.898 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.323/1.323, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.001386/0.001386, allocations: 180.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.4416/0.4416, allocations: 78.52 MB / 419.3 MB, free: 11.24 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.002628/0.002628, allocations: 139.2 kB / 0.5554 GB, free: 28.72 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.13, allocations: 68.14 MB / 0.6219 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery): time 0.006856/0.1369, allocations: 5.378 MB / 0.6272 GB, free: 10.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004186/0.1412, allocations: 1.603 MB / 0.6287 GB, free: 8.898 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001029/0.1423, allocations: 8 kB / 0.6287 GB, free: 8.891 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008085/0.1431, allocations: 178.4 kB / 0.6289 GB, free: 8.715 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002608/0.1457, allocations: 0.679 MB / 0.6296 GB, free: 8.035 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.1471, allocations: 0.4943 MB / 0.6301 GB, free: 7.547 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002178/0.1493, allocations: 1.102 MB / 0.6311 GB, free: 6.441 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005338/0.1499, allocations: 266.8 kB / 0.6314 GB, free: 6.168 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008124/0.1507, allocations: 474 kB / 0.6318 GB, free: 5.703 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00094/0.1516, allocations: 0.6067 MB / 0.6324 GB, free: 5.094 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003066/0.152, allocations: 84 kB / 0.6325 GB, free: 5.012 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000626/0.1526, allocations: 223.8 kB / 0.6327 GB, free: 4.793 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003358/0.1529, allocations: 243 kB / 0.633 GB, free: 4.555 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007102/0.1537, allocations: 0.5087 MB / 0.6335 GB, free: 4.043 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001692/0.1554, allocations: 1.272 MB / 0.6347 GB, free: 2.766 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.1554, allocations: 0 / 0.6347 GB, free: 2.766 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1554, allocations: 0 / 0.6347 GB, free: 2.766 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.548e-05/0.1554, allocations: 4 kB / 0.6347 GB, free: 2.762 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.007245/0.1627, allocations: 2.196 MB / 0.6369 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.1628, allocations: 11.98 kB / 0.6369 GB, free: 0.5 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001935/0.163, allocations: 114.7 kB / 0.637 GB, free: 388 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004282/0.1672, allocations: 0.6551 MB / 0.6376 GB, free: 15.72 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.1685, allocations: 0.6551 MB / 0.6383 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002141/0.1687, allocations: 176.1 kB / 0.6384 GB, free: 14.82 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/0.1689, allocations: 71.94 kB / 0.6385 GB, free: 14.75 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/0.1709, allocations: 0.8848 MB / 0.6394 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.171, allocations: 7.938 kB / 0.6394 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.022e-05/0.171, allocations: 28 kB / 0.6394 GB, free: 13.83 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.1711, allocations: 15.94 kB / 0.6394 GB, free: 13.81 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/0.1731, allocations: 0.9264 MB / 0.6403 GB, free: 12.89 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.004613/0.1778, allocations: 2.464 MB / 0.6427 GB, free: 10.32 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002141/0.1799, allocations: 1.121 MB / 0.6438 GB, free: 9.121 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.1813, allocations: 0.6576 MB / 0.6444 GB, free: 8.461 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.1814, allocations: 13 kB / 0.6445 GB, free: 8.445 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.1814, allocations: 39.56 kB / 0.6445 GB, free: 8.398 MB / 462.1 MB Notification: Performance of pre-optimization done (n=84): time 2.846e-06/0.1814, allocations: 3.938 kB / 0.6445 GB, free: 8.395 MB / 462.1 MB Notification: Performance of matching and sorting (n=84): time 0.02221/0.2037, allocations: 5.611 MB / 0.65 GB, free: 2.754 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.2037, allocations: 60.41 kB / 0.65 GB, free: 2.68 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.2048, allocations: 0.7553 MB / 0.6508 GB, free: 1.918 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001276/0.205, allocations: 37.7 kB / 0.6508 GB, free: 1.875 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003086/0.2053, allocations: 409.2 kB / 0.6512 GB, free: 1.469 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003382/0.2056, allocations: 309.3 kB / 0.6515 GB, free: 1.164 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003858/0.206, allocations: 190.9 kB / 0.6517 GB, free: 0.9727 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.2062, allocations: 345.9 kB / 0.652 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001405/0.2076, allocations: 0.6194 MB / 0.6526 GB, free: 8 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001482/0.2091, allocations: 0.7272 MB / 0.6533 GB, free: 15.25 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01728/0.2264, allocations: 4.19 MB / 0.6574 GB, free: 11.04 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.2264, allocations: 0 / 0.6574 GB, free: 11.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01155/0.238, allocations: 3.544 MB / 0.6609 GB, free: 7.48 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.238, allocations: 14.95 kB / 0.6609 GB, free: 7.469 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.238, allocations: 0 / 0.6609 GB, free: 7.469 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005237/0.2433, allocations: 1.422 MB / 0.6623 GB, free: 6.043 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.2443, allocations: 199.7 kB / 0.6625 GB, free: 5.848 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01979/0.2641, allocations: 8.131 MB / 0.6704 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.2656, allocations: 143.3 kB / 0.6705 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002219/0.2659, allocations: 35.98 kB / 0.6706 GB, free: 13.39 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.0006753/0.2666, allocations: 231.6 kB / 0.6708 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003192/0.2669, allocations: 107.3 kB / 0.6709 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0115/0.2784, allocations: 3.356 MB / 0.6742 GB, free: 9.684 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.2785, allocations: 8 kB / 0.6742 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2785, allocations: 0 / 0.6742 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-05/0.2785, allocations: 7.922 kB / 0.6742 GB, free: 9.668 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.01344/0.292, allocations: 4.71 MB / 0.6788 GB, free: 4.848 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/0.292, allocations: 0 / 0.6788 GB, free: 4.848 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000649/0.2927, allocations: 99.88 kB / 0.6789 GB, free: 4.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005568/0.2983, allocations: 1.472 MB / 0.6803 GB, free: 3.273 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000179/0.2985, allocations: 20 kB / 0.6804 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0179/0.3164, allocations: 7.477 MB / 0.6877 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3164, allocations: 0 / 0.6877 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01376/0.3302, allocations: 4.214 MB / 0.6918 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003599/0.3306, allocations: 192.2 kB / 0.692 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000279/0.3309, allocations: 16 kB / 0.692 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/0.3319, allocations: 79.91 kB / 0.692 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006663/0.3326, allocations: 168.8 kB / 0.6922 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.3327, allocations: 28 kB / 0.6922 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007719/0.3335, allocations: 0.5107 MB / 0.6927 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3335, allocations: 3.938 kB / 0.6927 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001392/0.3349, allocations: 375.7 kB / 0.6931 GB, free: 6.02 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.01409/0.349, allocations: 4.781 MB / 0.6978 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006209/0.3553, allocations: 2.099 MB / 0.6998 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.3553, allocations: 4 kB / 0.6998 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004215/0.3595, allocations: 1.345 MB / 0.7011 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009594/0.3605, allocations: 82.98 kB / 0.7012 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03439/0.395, allocations: 12.99 MB / 0.7139 GB, free: 492 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2458/0.6408, allocations: 1.015 MB / 0.7149 GB, free: 86.64 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005411/0.6414, allocations: 95.02 kB / 0.715 GB, free: 86.64 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000548/0.642, allocations: 366.8 kB / 0.7153 GB, free: 86.63 MB / 0.5137 GB Notification: Performance of SimCode: time 1.002e-06/0.642, allocations: 0 / 0.7153 GB, free: 86.63 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06262/0.7046, allocations: 28.99 MB / 0.7436 GB, free: 75.12 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.38/16.08, allocations: 16.55 kB / 0.7437 GB, free: 75.11 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)