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.0008023/0.0008026, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.31/1.31, allocations: 223.2 MB / 239 MB, free: 5.453 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.00104/0.00104, allocations: 176.1 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5011/0.5011, allocations: 91.91 MB / 433.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003565, allocations: 12 kB / 0.5042 GB, free: 7.633 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3202, allocations: 72.47 MB / 0.5749 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.004167/0.3244, allocations: 5.882 MB / 0.5807 GB, free: 32.72 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00249/0.3269, allocations: 1.794 MB / 0.5824 GB, free: 31.44 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003877/0.3273, allocations: 15.28 kB / 0.5825 GB, free: 31.44 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.3276, allocations: 157.6 kB / 0.5826 GB, free: 31.37 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.3288, allocations: 0.5848 MB / 0.5832 GB, free: 30.98 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008987/0.3297, allocations: 0.5165 MB / 0.5837 GB, free: 30.71 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009249/0.3306, allocations: 1.273 MB / 0.5849 GB, free: 30.06 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003496/0.331, allocations: 271 kB / 0.5852 GB, free: 29.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000474/0.3315, allocations: 0.4897 MB / 0.5857 GB, free: 29.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005185/0.332, allocations: 0.6303 MB / 0.5863 GB, free: 29.45 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.3321, allocations: 51.94 kB / 0.5863 GB, free: 29.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003299/0.3325, allocations: 178 kB / 0.5865 GB, free: 29.41 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.3326, allocations: 216.9 kB / 0.5867 GB, free: 29.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.3328, allocations: 219.8 kB / 0.5869 GB, free: 29.14 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006886/0.3334, allocations: 1.086 MB / 0.588 GB, free: 28.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.3335, allocations: 0 / 0.588 GB, free: 28.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3335, allocations: 0 / 0.588 GB, free: 28.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.605e-05/0.3335, allocations: 5.25 kB / 0.588 GB, free: 28.8 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.00628/0.3398, allocations: 2.379 MB / 0.5903 GB, free: 27.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.3398, allocations: 10.12 kB / 0.5903 GB, free: 27.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004531/0.3444, allocations: 0.7868 MB / 0.5911 GB, free: 27.61 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009861/0.3454, allocations: 0.7222 MB / 0.5918 GB, free: 27.1 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002359/0.3456, allocations: 274.2 kB / 0.592 GB, free: 26.88 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.3457, allocations: 75.09 kB / 0.5921 GB, free: 26.85 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002199/0.3479, allocations: 1.155 MB / 0.5932 GB, free: 26.46 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.348, allocations: 7.938 kB / 0.5933 GB, free: 26.45 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.914e-05/0.3481, allocations: 30.38 kB / 0.5933 GB, free: 26.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.364e-05/0.3481, allocations: 26.09 kB / 0.5933 GB, free: 26.42 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002508/0.3506, allocations: 1.231 MB / 0.5945 GB, free: 26.07 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.005056/0.3557, allocations: 3.508 MB / 0.5979 GB, free: 24.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001881/0.3576, allocations: 1.506 MB / 0.5994 GB, free: 23.14 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001515/0.3591, allocations: 0.8668 MB / 0.6003 GB, free: 22.84 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.3592, allocations: 18.77 kB / 0.6003 GB, free: 22.83 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.3593, allocations: 42.84 kB / 0.6003 GB, free: 22.78 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 2.505e-06/0.3593, allocations: 5.125 kB / 0.6003 GB, free: 22.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02525/0.3845, allocations: 8.317 MB / 0.6084 GB, free: 21.35 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.446e-05/0.3846, allocations: 66.22 kB / 0.6085 GB, free: 21.28 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.3857, allocations: 0.8742 MB / 0.6094 GB, free: 20.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000151/0.3859, allocations: 40.95 kB / 0.6094 GB, free: 20.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/0.3862, allocations: 498.3 kB / 0.6099 GB, free: 20.47 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002777/0.3865, allocations: 341.9 kB / 0.6102 GB, free: 20.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.738e-05/0.3865, allocations: 20 kB / 0.6102 GB, free: 20.19 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.108e-05/0.3866, allocations: 353.5 kB / 0.6105 GB, free: 19.86 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001605/0.3882, allocations: 0.7985 MB / 0.6113 GB, free: 19.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001658/0.3899, allocations: 0.9209 MB / 0.6122 GB, free: 19.24 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001663/0.3916, allocations: 0.8574 MB / 0.6131 GB, free: 18.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.3916, allocations: 0 / 0.6131 GB, free: 18.91 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01347/0.4051, allocations: 5.155 MB / 0.6181 GB, free: 17.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.4051, allocations: 4 kB / 0.6181 GB, free: 17.17 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.4051, allocations: 4 kB / 0.6181 GB, free: 17.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005453/0.4106, allocations: 2.175 MB / 0.6202 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.4117, allocations: 231.6 kB / 0.6205 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01761/0.4293, allocations: 9.338 MB / 0.6296 GB, free: 5.289 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.4308, allocations: 218.9 kB / 0.6298 GB, free: 5.074 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.4309, allocations: 35.98 kB / 0.6298 GB, free: 5.039 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of prepare postOptimizeDAE: time 0.0005111/0.4315, allocations: 245.7 kB / 0.63 GB, free: 4.793 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/0.4317, allocations: 122.5 kB / 0.6302 GB, free: 4.672 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01188/0.4435, allocations: 4.94 MB / 0.635 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.4436, allocations: 8 kB / 0.635 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.4436, allocations: 0 / 0.635 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.76e-05/0.4436, allocations: 3.984 kB / 0.635 GB, free: 15.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01527/0.4589, allocations: 6.563 MB / 0.6414 GB, free: 9.004 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.459, allocations: 0 / 0.6414 GB, free: 9.004 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007665/0.4597, allocations: 143.8 kB / 0.6415 GB, free: 8.863 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006013/0.4658, allocations: 2.058 MB / 0.6436 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001765/0.466, allocations: 16 kB / 0.6436 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01856/0.4845, allocations: 8.213 MB / 0.6516 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.4846, allocations: 0 / 0.6516 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01568/0.5003, allocations: 5.986 MB / 0.6574 GB, free: 8.418 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006509/0.501, allocations: 203.4 kB / 0.6576 GB, free: 8.199 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004334/0.5014, allocations: 16 kB / 0.6576 GB, free: 8.184 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/0.5026, allocations: 163.9 kB / 0.6578 GB, free: 8.023 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000723/0.5034, allocations: 208.6 kB / 0.658 GB, free: 7.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001191/0.5035, allocations: 27.98 kB / 0.658 GB, free: 7.793 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007859/0.5043, allocations: 0.5809 MB / 0.6586 GB, free: 7.203 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5043, allocations: 0 / 0.6586 GB, free: 7.203 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00147/0.5058, allocations: 435.5 kB / 0.659 GB, free: 6.777 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003107/0.5061, allocations: 143 kB / 0.6591 GB, free: 6.629 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006761/0.5129, allocations: 2.76 MB / 0.6618 GB, free: 3.859 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.5129, allocations: 0 / 0.6618 GB, free: 3.859 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004651/0.5176, allocations: 1.791 MB / 0.6636 GB, free: 2.051 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009967/0.5186, allocations: 88.41 kB / 0.6637 GB, free: 1.965 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003868/0.5225, allocations: 2.271 MB / 0.6659 GB, free: 15.68 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006447/0.5231, allocations: 1.084 MB / 0.667 GB, free: 14.57 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004089/0.5236, allocations: 82.69 kB / 0.667 GB, free: 14.48 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002337/0.5238, allocations: 63.41 kB / 0.6671 GB, free: 14.42 MB / 478.1 MB Notification: Performance of SimCode: time 9.71e-07/0.5238, allocations: 0 / 0.6671 GB, free: 14.42 MB / 478.1 MB Notification: Performance of Templates: time 0.03191/0.5557, allocations: 19.82 MB / 0.6864 GB, free: 10.64 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)