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.001105/0.001105, allocations: 113.7 kB / 16.37 MB, free: 6.004 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.315/1.315, allocations: 222.9 MB / 240 MB, free: 4.504 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.001563/0.001563, allocations: 184.5 kB / 290.3 MB, free: 2.238 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.89 MB / 432.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 75.88 kB / 0.5033 GB, free: 6.992 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3152, allocations: 71.27 MB / 0.5729 GB, free: 37.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.005183/0.3204, allocations: 6.409 MB / 0.5791 GB, free: 33.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003276/0.3237, allocations: 1.86 MB / 0.581 GB, free: 32.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005828/0.3243, allocations: 13.09 kB / 0.581 GB, free: 32.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004373/0.3248, allocations: 219.5 kB / 0.5812 GB, free: 31.95 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001385/0.3262, allocations: 0.713 MB / 0.5819 GB, free: 31.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.3273, allocations: 0.6016 MB / 0.5825 GB, free: 31.18 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001069/0.3284, allocations: 1.407 MB / 0.5838 GB, free: 30.47 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003921/0.3288, allocations: 328.3 kB / 0.5841 GB, free: 30.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006042/0.3294, allocations: 0.5872 MB / 0.5847 GB, free: 30.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006041/0.33, allocations: 0.7176 MB / 0.5854 GB, free: 29.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001274/0.3301, allocations: 101.2 kB / 0.5855 GB, free: 29.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004196/0.3306, allocations: 236.1 kB / 0.5857 GB, free: 29.64 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.3307, allocations: 278.5 kB / 0.586 GB, free: 29.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003507/0.3311, allocations: 0.6199 MB / 0.5866 GB, free: 29.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.3322, allocations: 1.506 MB / 0.5881 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3322, allocations: 0 / 0.5881 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3322, allocations: 0 / 0.5881 GB, free: 28.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.3322, allocations: 4 kB / 0.5881 GB, free: 28.34 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.00721/0.3395, allocations: 2.533 MB / 0.5906 GB, free: 27.17 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3395, allocations: 9.938 kB / 0.5906 GB, free: 27.17 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004894/0.3444, allocations: 0.7782 MB / 0.5913 GB, free: 27.01 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.3459, allocations: 0.7684 MB / 0.5921 GB, free: 26.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002954/0.3462, allocations: 257 kB / 0.5923 GB, free: 26.23 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/0.3464, allocations: 78.19 kB / 0.5924 GB, free: 26.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/0.3485, allocations: 1.072 MB / 0.5934 GB, free: 25.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.3485, allocations: 3.938 kB / 0.5934 GB, free: 25.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.234e-05/0.3486, allocations: 31.41 kB / 0.5935 GB, free: 25.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.3486, allocations: 18.69 kB / 0.5935 GB, free: 25.8 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002297/0.3509, allocations: 1.115 MB / 0.5946 GB, free: 25.46 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.005306/0.3563, allocations: 3.423 MB / 0.5979 GB, free: 23.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/0.3582, allocations: 1.411 MB / 0.5993 GB, free: 22.56 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00147/0.3597, allocations: 0.7809 MB / 0.6001 GB, free: 22.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001213/0.3598, allocations: 19.2 kB / 0.6001 GB, free: 22.26 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.3599, allocations: 43 kB / 0.6001 GB, free: 22.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 2.795e-06/0.3599, allocations: 1.188 kB / 0.6001 GB, free: 22.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02533/0.3852, allocations: 6.747 MB / 0.6067 GB, free: 20.95 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.3853, allocations: 62.06 kB / 0.6068 GB, free: 20.88 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.3867, allocations: 0.8878 MB / 0.6076 GB, free: 20.51 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000251/0.387, allocations: 41.39 kB / 0.6077 GB, free: 20.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003185/0.3873, allocations: 0.4888 MB / 0.6082 GB, free: 20.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003587/0.3877, allocations: 341.7 kB / 0.6085 GB, free: 19.8 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004088/0.3881, allocations: 193.9 kB / 0.6087 GB, free: 19.71 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.133e-05/0.3882, allocations: 346.1 kB / 0.609 GB, free: 19.39 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/0.3898, allocations: 0.7192 MB / 0.6097 GB, free: 19.13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001661/0.3915, allocations: 0.8433 MB / 0.6105 GB, free: 18.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01837/0.4099, allocations: 4.779 MB / 0.6152 GB, free: 17.21 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/0.4099, allocations: 4 kB / 0.6152 GB, free: 17.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01269/0.4226, allocations: 4.265 MB / 0.6194 GB, free: 14.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.4227, allocations: 12 kB / 0.6194 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.4227, allocations: 0 / 0.6194 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005455/0.4282, allocations: 1.858 MB / 0.6212 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.4293, allocations: 207.7 kB / 0.6214 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01853/0.4478, allocations: 9.073 MB / 0.6302 GB, free: 3.258 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.4493, allocations: 167 kB / 0.6304 GB, free: 3.094 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002012/0.4495, allocations: 43.98 kB / 0.6304 GB, free: 3.051 MB / 430.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.0005575/0.4501, allocations: 247.3 kB / 0.6307 GB, free: 2.801 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003166/0.4504, allocations: 122.5 kB / 0.6308 GB, free: 2.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01169/0.4621, allocations: 3.998 MB / 0.6347 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.4622, allocations: 11.94 kB / 0.6347 GB, free: 14.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.4622, allocations: 3.938 kB / 0.6347 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.39e-05/0.4622, allocations: 7.984 kB / 0.6347 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01505/0.4773, allocations: 5.614 MB / 0.6402 GB, free: 8.891 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/0.4773, allocations: 7.938 kB / 0.6402 GB, free: 8.883 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007724/0.4781, allocations: 131.8 kB / 0.6403 GB, free: 8.754 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00566/0.4838, allocations: 1.741 MB / 0.642 GB, free: 7.004 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002002/0.484, allocations: 19.98 kB / 0.6421 GB, free: 6.984 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01806/0.5021, allocations: 8.061 MB / 0.6499 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.5021, allocations: 0 / 0.6499 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01456/0.5167, allocations: 4.972 MB / 0.6548 GB, free: 9.777 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004032/0.5171, allocations: 203.4 kB / 0.655 GB, free: 9.559 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002665/0.5174, allocations: 16 kB / 0.655 GB, free: 9.543 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.5185, allocations: 115.9 kB / 0.6551 GB, free: 9.43 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006996/0.5192, allocations: 208.7 kB / 0.6553 GB, free: 9.223 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.5193, allocations: 31.92 kB / 0.6553 GB, free: 9.191 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008072/0.5202, allocations: 0.5966 MB / 0.6559 GB, free: 8.586 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5202, allocations: 0 / 0.6559 GB, free: 8.586 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001361/0.5215, allocations: 427.5 kB / 0.6563 GB, free: 8.168 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.0003085/0.5219, allocations: 138.7 kB / 0.6565 GB, free: 8.027 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006616/0.5285, allocations: 2.473 MB / 0.6589 GB, free: 5.543 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.5285, allocations: 4 kB / 0.6589 GB, free: 5.539 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004535/0.533, allocations: 1.593 MB / 0.6604 GB, free: 3.938 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008436/0.5339, allocations: 92.42 kB / 0.6605 GB, free: 3.844 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003651/0.5376, allocations: 1.915 MB / 0.6624 GB, free: 1.906 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006633/0.5383, allocations: 1.088 MB / 0.6635 GB, free: 0.7891 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003493/0.5386, allocations: 94.67 kB / 0.6635 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.5388, allocations: 63.42 kB / 0.6636 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5389, allocations: 0 / 0.6636 GB, free: 0.6289 MB / 462.1 MB Notification: Performance of Templates: time 0.1269/0.6657, allocations: 23.38 MB / 0.6864 GB, free: 9.273 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 -s gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation.pipe 2>&1)