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.07927/0.07927, allocations: 12.58 MB / 28.22 MB, free: 0.7734 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.001068/0.001068, allocations: 111.4 kB / 31.84 MB, free: 3.902 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.304/1.304, 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.001348/0.001348, 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.4309/0.4309, allocations: 78.52 MB / 419.3 MB, free: 11.22 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.002597/0.002597, allocations: 142.4 kB / 0.5554 GB, free: 28.71 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1196, 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.00582/0.1255, allocations: 5.374 MB / 0.6272 GB, free: 10.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003227/0.1287, allocations: 1.607 MB / 0.6287 GB, free: 8.895 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003856/0.1291, allocations: 8 kB / 0.6287 GB, free: 8.887 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004824/0.1297, allocations: 178.4 kB / 0.6289 GB, free: 8.711 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001503/0.1312, allocations: 0.6831 MB / 0.6296 GB, free: 8.027 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009999/0.1322, allocations: 0.4948 MB / 0.6301 GB, free: 7.535 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001102/0.1333, allocations: 1.094 MB / 0.6311 GB, free: 6.438 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003849/0.1337, allocations: 270.8 kB / 0.6314 GB, free: 6.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005285/0.1342, allocations: 462 kB / 0.6318 GB, free: 5.707 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006384/0.1349, allocations: 0.6106 MB / 0.6324 GB, free: 5.094 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001221/0.135, allocations: 95.98 kB / 0.6325 GB, free: 5 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000391/0.1354, allocations: 215.9 kB / 0.6327 GB, free: 4.789 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002047/0.1356, allocations: 239 kB / 0.633 GB, free: 4.555 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004071/0.136, allocations: 0.5087 MB / 0.6335 GB, free: 4.043 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001262/0.1373, allocations: 1.272 MB / 0.6347 GB, free: 2.766 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1373, allocations: 0 / 0.6347 GB, free: 2.766 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1373, allocations: 4 kB / 0.6347 GB, free: 2.762 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.578e-05/0.1373, allocations: 0 / 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.00682/0.1442, allocations: 2.2 MB / 0.6368 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.1442, allocations: 15.97 kB / 0.6369 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001448/0.1444, allocations: 106.7 kB / 0.637 GB, free: 388 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004185/0.1486, allocations: 0.6552 MB / 0.6376 GB, free: 15.72 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009399/0.1495, allocations: 0.6551 MB / 0.6382 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001855/0.1497, allocations: 180.1 kB / 0.6384 GB, free: 14.82 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.1499, allocations: 63.95 kB / 0.6385 GB, free: 14.76 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/0.1517, allocations: 0.8886 MB / 0.6393 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.1518, allocations: 3.938 kB / 0.6393 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.119e-05/0.1519, allocations: 24 kB / 0.6394 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.1519, allocations: 23.94 kB / 0.6394 GB, free: 13.81 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001984/0.1539, allocations: 0.9186 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.004129/0.158, allocations: 2.471 MB / 0.6427 GB, free: 10.32 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/0.1598, allocations: 1.11 MB / 0.6438 GB, free: 9.129 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/0.1612, allocations: 0.6615 MB / 0.6444 GB, free: 8.465 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.68e-05/0.1613, allocations: 9 kB / 0.6444 GB, free: 8.453 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.1613, allocations: 51.5 kB / 0.6445 GB, free: 8.395 MB / 462.1 MB Notification: Performance of pre-optimization done (n=84): time 3.887e-06/0.1613, allocations: 0 / 0.6445 GB, free: 8.395 MB / 462.1 MB Notification: Performance of matching and sorting (n=84): time 0.02246/0.1838, allocations: 5.604 MB / 0.65 GB, free: 2.762 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.1839, allocations: 68.34 kB / 0.65 GB, free: 2.68 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009923/0.1849, allocations: 0.7514 MB / 0.6508 GB, free: 1.922 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001716/0.1851, allocations: 41.7 kB / 0.6508 GB, free: 1.875 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002855/0.1853, allocations: 409.2 kB / 0.6512 GB, free: 1.469 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003103/0.1857, allocations: 317.2 kB / 0.6515 GB, free: 1.156 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003525/0.186, allocations: 186.9 kB / 0.6517 GB, free: 0.9688 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.1862, allocations: 341.9 kB / 0.652 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001371/0.1875, allocations: 0.6194 MB / 0.6526 GB, free: 8 kB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/0.189, allocations: 0.7271 MB / 0.6533 GB, free: 15.26 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01738/0.2064, allocations: 4.186 MB / 0.6574 GB, free: 11.04 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2064, allocations: 4 kB / 0.6574 GB, free: 11.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01166/0.2181, allocations: 3.544 MB / 0.6609 GB, free: 7.48 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.2181, allocations: 8.188 kB / 0.6609 GB, free: 7.473 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.2182, allocations: 4 kB / 0.6609 GB, free: 7.469 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005258/0.2234, allocations: 1.422 MB / 0.6623 GB, free: 6.043 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009738/0.2244, allocations: 199.7 kB / 0.6625 GB, free: 5.848 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01835/0.2428, allocations: 8.137 MB / 0.6704 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.2441, allocations: 147.3 kB / 0.6705 GB, free: 13.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.465e-05/0.2442, 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.0004411/0.2446, allocations: 242.1 kB / 0.6708 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.2448, allocations: 103.3 kB / 0.6709 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01131/0.2561, allocations: 3.36 MB / 0.6742 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.2562, allocations: 8 kB / 0.6742 GB, free: 9.668 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.2562, allocations: 0 / 0.6742 GB, free: 9.668 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.2562, allocations: 7.922 kB / 0.6742 GB, free: 9.66 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.01305/0.2693, allocations: 4.71 MB / 0.6788 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.2693, allocations: 0 / 0.6788 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006128/0.2699, allocations: 103.9 kB / 0.6789 GB, free: 4.734 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005492/0.2754, allocations: 1.464 MB / 0.6803 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/0.2756, allocations: 20 kB / 0.6804 GB, free: 3.246 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01665/0.2922, allocations: 7.48 MB / 0.6877 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.2922, allocations: 4 kB / 0.6877 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01289/0.3051, allocations: 4.198 MB / 0.6918 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002807/0.3054, allocations: 196.2 kB / 0.6919 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.3056, allocations: 16.12 kB / 0.692 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008763/0.3065, allocations: 87.89 kB / 0.692 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004839/0.307, allocations: 172.8 kB / 0.6922 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.239e-05/0.307, allocations: 16 kB / 0.6922 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006265/0.3077, allocations: 0.5185 MB / 0.6927 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3077, allocations: 0 / 0.6927 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001051/0.3087, allocations: 371.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.01334/0.3221, allocations: 4.793 MB / 0.6978 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005466/0.3276, allocations: 2.092 MB / 0.6998 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3276, allocations: 0 / 0.6998 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003878/0.3315, allocations: 1.341 MB / 0.7011 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007228/0.3322, allocations: 78.73 kB / 0.7012 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03143/0.3637, allocations: 12.99 MB / 0.7139 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2401/0.6038, allocations: 1.026 MB / 0.7149 GB, free: 86.71 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004626/0.6043, allocations: 98.08 kB / 0.715 GB, free: 86.71 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005057/0.6048, allocations: 365.2 kB / 0.7153 GB, free: 86.7 MB / 0.5137 GB Notification: Performance of SimCode: time 9.32e-07/0.6048, allocations: 0 / 0.7153 GB, free: 86.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05965/0.6645, allocations: 29 MB / 0.7436 GB, free: 75.17 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.92/15.58, allocations: 12.55 kB / 0.7437 GB, free: 75.16 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)