Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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: translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery") translateModel(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 108.6 kB / 16.41 MB, free: 6.496 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.385/1.385, allocations: 222.9 MB / 240.1 MB, free: 4.57 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.001313/0.001314, allocations: 188.5 kB / 290.4 MB, free: 2.293 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5572/0.5572, allocations: 91.9 MB / 432.4 MB, free: 9.207 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 76.17 kB / 0.5734 GB, free: 33.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1487, allocations: 71.28 MB / 0.643 GB, free: 3.617 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery): time 0.006378/0.1551, allocations: 5.349 MB / 0.6482 GB, free: 14.24 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003722/0.1588, allocations: 1.637 MB / 0.6498 GB, free: 12.6 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006383/0.1595, allocations: 8 kB / 0.6498 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005662/0.1601, allocations: 186.4 kB / 0.65 GB, free: 12.41 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001803/0.162, allocations: 0.6406 MB / 0.6506 GB, free: 11.77 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.1631, allocations: 0.4987 MB / 0.6511 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001379/0.1645, allocations: 1.09 MB / 0.6522 GB, free: 10.18 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004463/0.165, allocations: 266.5 kB / 0.6524 GB, free: 9.906 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006811/0.1656, allocations: 473.9 kB / 0.6529 GB, free: 9.441 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007193/0.1664, allocations: 0.6068 MB / 0.6535 GB, free: 8.832 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001494/0.1665, allocations: 88 kB / 0.6536 GB, free: 8.746 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005074/0.1671, allocations: 223.8 kB / 0.6538 GB, free: 8.527 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002153/0.1673, allocations: 239 kB / 0.654 GB, free: 8.293 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004452/0.1677, allocations: 0.5048 MB / 0.6545 GB, free: 7.785 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.1692, allocations: 1.277 MB / 0.6558 GB, free: 6.504 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1692, allocations: 0 / 0.6558 GB, free: 6.504 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1692, allocations: 4 kB / 0.6558 GB, free: 6.5 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.1692, allocations: 0 / 0.6558 GB, free: 6.5 MB / 462.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.006916/0.1761, allocations: 2.171 MB / 0.6579 GB, free: 4.277 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.1762, allocations: 8.031 kB / 0.6579 GB, free: 4.27 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004086/0.1803, allocations: 0.6431 MB / 0.6585 GB, free: 3.625 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.1814, allocations: 0.6504 MB / 0.6592 GB, free: 2.934 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002058/0.1816, allocations: 180 kB / 0.6593 GB, free: 2.73 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.1817, allocations: 64 kB / 0.6594 GB, free: 2.668 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/0.1837, allocations: 0.8809 MB / 0.6602 GB, free: 1.781 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.1837, allocations: 4 kB / 0.6603 GB, free: 1.777 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.439e-05/0.1838, allocations: 24 kB / 0.6603 GB, free: 1.754 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/0.1838, allocations: 19.94 kB / 0.6603 GB, free: 1.734 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001968/0.1858, allocations: 0.9225 MB / 0.6612 GB, free: 0.8125 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.00459/0.1904, allocations: 2.467 MB / 0.6636 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001927/0.1923, allocations: 1.116 MB / 0.6647 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001346/0.1937, allocations: 0.6562 MB / 0.6653 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.111e-05/0.1938, allocations: 12.98 kB / 0.6653 GB, free: 12.36 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.1938, allocations: 43.56 kB / 0.6654 GB, free: 12.31 MB / 478.1 MB Notification: Performance of pre-optimization done (n=84): time 2.675e-06/0.1938, allocations: 3.938 kB / 0.6654 GB, free: 12.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=84): time 0.02303/0.2169, allocations: 5.591 MB / 0.6709 GB, free: 6.684 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.217, allocations: 64.41 kB / 0.6709 GB, free: 6.605 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/0.2185, allocations: 0.7591 MB / 0.6717 GB, free: 5.832 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000309/0.2189, allocations: 41.7 kB / 0.6717 GB, free: 5.785 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004402/0.2193, allocations: 400.7 kB / 0.6721 GB, free: 5.387 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006441/0.22, allocations: 303.6 kB / 0.6724 GB, free: 5.086 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006989/0.2207, allocations: 182.8 kB / 0.6725 GB, free: 4.902 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002506/0.221, allocations: 345.9 kB / 0.6729 GB, free: 4.559 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001725/0.2227, allocations: 0.6155 MB / 0.6735 GB, free: 3.941 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001714/0.2244, allocations: 0.7388 MB / 0.6742 GB, free: 3.18 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01764/0.2421, allocations: 4.186 MB / 0.6783 GB, free: 14.97 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/0.2421, allocations: 0 / 0.6783 GB, free: 14.97 MB / 494.1 MB Notification: Performance of matching and sorting (n=132) (initialization): time 0.01201/0.2542, allocations: 3.528 MB / 0.6817 GB, free: 11.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/0.2542, allocations: 8 kB / 0.6817 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.2543, allocations: 4.188 kB / 0.6817 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005326/0.2596, allocations: 1.438 MB / 0.6831 GB, free: 9.973 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.2607, allocations: 191.8 kB / 0.6833 GB, free: 9.785 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01958/0.2803, allocations: 8.116 MB / 0.6913 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/0.2818, allocations: 139.3 kB / 0.6914 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000235/0.2821, allocations: 39.98 kB / 0.6914 GB, free: 1.348 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.0006609/0.2827, allocations: 236.8 kB / 0.6916 GB, free: 1.109 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003178/0.2831, allocations: 98.78 kB / 0.6917 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/0.2946, allocations: 3.368 MB / 0.695 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/0.2947, allocations: 8 kB / 0.695 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.2947, allocations: 0 / 0.695 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.531e-05/0.2947, allocations: 11.92 kB / 0.695 GB, free: 13.61 MB / 0.4981 GB 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.01385/0.3086, allocations: 4.706 MB / 0.6996 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/0.3087, allocations: 4 kB / 0.6996 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007374/0.3094, allocations: 99.88 kB / 0.6997 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005612/0.315, allocations: 1.472 MB / 0.7012 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002256/0.3153, allocations: 20 kB / 0.7012 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01781/0.3331, allocations: 7.457 MB / 0.7085 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.3332, allocations: 0 / 0.7085 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01369/0.3469, allocations: 4.213 MB / 0.7126 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00041/0.3473, allocations: 179.7 kB / 0.7128 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003362/0.3477, allocations: 23.92 kB / 0.7128 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/0.3488, allocations: 83.91 kB / 0.7129 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006805/0.3495, allocations: 172.8 kB / 0.713 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.3496, allocations: 20 kB / 0.7131 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007515/0.3504, allocations: 0.5107 MB / 0.7136 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3504, allocations: 0 / 0.7136 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001511/0.3519, allocations: 367.7 kB / 0.7139 GB, free: 10 MB / 0.5137 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.0003562/0.3523, allocations: 128.5 kB / 0.714 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005979/0.3583, allocations: 2.095 MB / 0.7161 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.3583, allocations: 0 / 0.7161 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004121/0.3624, allocations: 1.334 MB / 0.7174 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009996/0.3635, allocations: 87.23 kB / 0.7175 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/0.3674, allocations: 1.77 MB / 0.7192 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007051/0.3682, allocations: 1.021 MB / 0.7202 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003318/0.3685, allocations: 63.42 kB / 0.7202 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of SimCode: time 1.443e-06/0.3685, allocations: 0 / 0.7202 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of Templates: time 0.02543/0.394, allocations: 16.74 MB / 0.7366 GB, free: 2.668 MB / 0.5294 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Loads.PSAT.LoadTestExpRecovery.pipe 2>&1)