Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.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.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 91.61 kB / 16.02 MB, free: 80 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.334/1.334, allocations: 223.3 MB / 240 MB, free: 5.473 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.001089/0.001089, allocations: 176.5 kB / 291.3 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5237/0.5237, allocations: 91.92 MB / 434.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.0003934, allocations: 15.94 kB / 0.5054 GB, free: 7.199 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3691, allocations: 72.45 MB / 0.5762 GB, free: 36.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.00486/0.374, allocations: 6.272 MB / 0.5823 GB, free: 32.41 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00345/0.3775, allocations: 1.885 MB / 0.5841 GB, free: 31.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006301/0.3781, allocations: 13.69 kB / 0.5842 GB, free: 31.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004468/0.3786, allocations: 171.9 kB / 0.5843 GB, free: 31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001528/0.3801, allocations: 0.6247 MB / 0.5849 GB, free: 30.59 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.3812, allocations: 0.5648 MB / 0.5855 GB, free: 30.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001182/0.3824, allocations: 1.334 MB / 0.5868 GB, free: 29.63 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003872/0.3828, allocations: 280.9 kB / 0.587 GB, free: 29.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000566/0.3834, allocations: 0.5208 MB / 0.5876 GB, free: 29.27 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005393/0.384, allocations: 0.6572 MB / 0.5882 GB, free: 28.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.3841, allocations: 53.69 kB / 0.5882 GB, free: 28.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000369/0.3844, allocations: 181 kB / 0.5884 GB, free: 28.91 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.3846, allocations: 223.8 kB / 0.5886 GB, free: 28.78 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003628/0.385, allocations: 0.5875 MB / 0.5892 GB, free: 28.38 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007532/0.3857, allocations: 1.083 MB / 0.5903 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3857, allocations: 0 / 0.5903 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3857, allocations: 0 / 0.5903 GB, free: 28.04 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.476e-05/0.3858, allocations: 0 / 0.5903 GB, free: 28.04 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.007536/0.3933, allocations: 2.369 MB / 0.5926 GB, free: 27.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.3934, allocations: 12.94 kB / 0.5926 GB, free: 27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005053/0.3984, allocations: 0.786 MB / 0.5934 GB, free: 26.85 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.3997, allocations: 0.7659 MB / 0.5941 GB, free: 26.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002712/0.4, allocations: 267.3 kB / 0.5944 GB, free: 26.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/0.4002, allocations: 79.09 kB / 0.5944 GB, free: 26.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002473/0.4026, allocations: 1.167 MB / 0.5956 GB, free: 25.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.4027, allocations: 5.094 kB / 0.5956 GB, free: 25.64 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.116e-05/0.4028, allocations: 29.41 kB / 0.5956 GB, free: 25.62 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/0.4028, allocations: 19 kB / 0.5956 GB, free: 25.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002613/0.4054, allocations: 1.236 MB / 0.5968 GB, free: 25.27 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.005731/0.4111, allocations: 3.505 MB / 0.6003 GB, free: 23.29 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002266/0.4134, allocations: 1.501 MB / 0.6017 GB, free: 22.35 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001794/0.4152, allocations: 0.8689 MB / 0.6026 GB, free: 22.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.854e-05/0.4153, allocations: 16.45 kB / 0.6026 GB, free: 22.04 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.4154, allocations: 48.28 kB / 0.6026 GB, free: 21.99 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 3.627e-06/0.4154, allocations: 0 / 0.6026 GB, free: 21.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.03015/0.4455, allocations: 8.368 MB / 0.6108 GB, free: 20.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.4456, allocations: 66.92 kB / 0.6109 GB, free: 20.46 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/0.447, allocations: 0.8834 MB / 0.6117 GB, free: 20.09 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002008/0.4472, allocations: 44.64 kB / 0.6118 GB, free: 20.05 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003333/0.4476, allocations: 0.4898 MB / 0.6123 GB, free: 19.65 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003509/0.4479, allocations: 338 kB / 0.6126 GB, free: 19.39 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.4481, allocations: 101.2 kB / 0.6127 GB, free: 19.33 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.459e-05/0.4482, allocations: 345.9 kB / 0.613 GB, free: 19.01 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001842/0.4501, allocations: 0.8071 MB / 0.6138 GB, free: 18.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001912/0.452, allocations: 0.933 MB / 0.6147 GB, free: 18.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02005/0.472, allocations: 5.352 MB / 0.6199 GB, free: 16.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/0.4721, allocations: 3.938 kB / 0.6199 GB, free: 16.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.0143/0.4864, allocations: 5.199 MB / 0.625 GB, free: 11.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.4865, allocations: 6.344 kB / 0.625 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.4865, allocations: 7.938 kB / 0.625 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006335/0.4928, allocations: 2.174 MB / 0.6271 GB, free: 8.969 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.494, allocations: 215.8 kB / 0.6274 GB, free: 8.758 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0204/0.5144, allocations: 9.349 MB / 0.6365 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/0.5163, allocations: 219 kB / 0.6367 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002745/0.5166, allocations: 35.98 kB / 0.6367 GB, free: 15.02 MB / 446.1 MB Warning: Assuming fixed start value for the following 2 variables: order2_Inputs_Outputs1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2_Inputs_Outputs1.delta:VARIABLE(flow=false start = order2_Inputs_Outputs1.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (108): * Single equations (assignments): 107 * 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 {(26,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0008528/0.5174, allocations: 243.4 kB / 0.637 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003968/0.5179, allocations: 122.4 kB / 0.6371 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01566/0.5335, allocations: 4.947 MB / 0.6419 GB, free: 9.688 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/0.5336, allocations: 12 kB / 0.6419 GB, free: 9.676 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.5336, allocations: 0 / 0.6419 GB, free: 9.676 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.441e-05/0.5336, allocations: 7.984 kB / 0.6419 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01837/0.552, allocations: 6.567 MB / 0.6483 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.687e-05/0.5521, allocations: 0 / 0.6483 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008606/0.553, allocations: 147.8 kB / 0.6485 GB, free: 2.816 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006778/0.5598, allocations: 2.058 MB / 0.6505 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002579/0.5601, allocations: 16 kB / 0.6505 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02013/0.5802, allocations: 8.217 MB / 0.6585 GB, free: 8.379 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.5803, allocations: 7.875 kB / 0.6585 GB, free: 8.371 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01825/0.5985, allocations: 6.001 MB / 0.6644 GB, free: 2.348 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005671/0.5991, allocations: 207.4 kB / 0.6646 GB, free: 2.125 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004751/0.5996, allocations: 16 kB / 0.6646 GB, free: 2.109 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001502/0.6011, allocations: 155.9 kB / 0.6648 GB, free: 1.957 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008286/0.602, allocations: 208.6 kB / 0.665 GB, free: 1.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/0.6022, allocations: 24 kB / 0.665 GB, free: 1.727 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001033/0.6032, allocations: 0.5926 MB / 0.6656 GB, free: 1.125 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6032, allocations: 4 kB / 0.6656 GB, free: 1.121 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001839/0.6051, allocations: 435.4 kB / 0.666 GB, free: 0.6953 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order2_Inputs_Outputs1.delta,order2_Inputs_Outputs1.w) * 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 (63): * Single equations (assignments): 62 * 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 {(26,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003884/0.6055, allocations: 127.1 kB / 0.6661 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007892/0.6134, allocations: 2.772 MB / 0.6688 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.6134, allocations: 0 / 0.6688 GB, free: 13.77 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005428/0.6189, allocations: 1.794 MB / 0.6706 GB, free: 11.96 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.6203, allocations: 90.17 kB / 0.6706 GB, free: 11.88 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00478/0.6251, allocations: 2.43 MB / 0.673 GB, free: 9.414 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008554/0.626, allocations: 1.084 MB / 0.6741 GB, free: 8.305 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004009/0.6264, allocations: 67.42 kB / 0.6741 GB, free: 8.238 MB / 478.1 MB Notification: Performance of SimCode: time 5.09e-06/0.6264, allocations: 0 / 0.6741 GB, free: 8.238 MB / 478.1 MB Notification: Performance of Templates: time 0.03065/0.6571, allocations: 19.79 MB / 0.6935 GB, free: 4.441 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)