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.001292/0.001292, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.368/1.368, allocations: 222.9 MB / 238.8 MB, free: 4.676 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.001291/0.001291, allocations: 196.3 kB / 289.1 MB, free: 2.414 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5231/0.5231, allocations: 91.89 MB / 431.2 MB, free: 9.406 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 79.88 kB / 0.5012 GB, free: 8.137 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3413, allocations: 71.27 MB / 0.5708 GB, free: 36.36 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2_perturbation): time 0.005354/0.3467, allocations: 6.728 MB / 0.5774 GB, free: 32.46 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003021/0.3497, allocations: 1.907 MB / 0.5792 GB, free: 31.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005526/0.3503, allocations: 17.81 kB / 0.5792 GB, free: 31.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004307/0.3507, allocations: 170.9 kB / 0.5794 GB, free: 31.2 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.3522, allocations: 0.6329 MB / 0.58 GB, free: 30.78 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.3532, allocations: 0.5662 MB / 0.5806 GB, free: 30.48 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001105/0.3544, allocations: 1.333 MB / 0.5819 GB, free: 29.82 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003833/0.3548, allocations: 300.2 kB / 0.5822 GB, free: 29.68 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005672/0.3553, allocations: 0.5375 MB / 0.5827 GB, free: 29.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005263/0.3559, allocations: 0.6905 MB / 0.5834 GB, free: 29.1 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001228/0.356, allocations: 68.22 kB / 0.5834 GB, free: 29.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003852/0.3564, allocations: 201.8 kB / 0.5836 GB, free: 29.05 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.3566, allocations: 243.2 kB / 0.5839 GB, free: 28.9 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003578/0.3569, allocations: 0.582 MB / 0.5844 GB, free: 28.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009369/0.3579, allocations: 1.446 MB / 0.5858 GB, free: 27.85 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3579, allocations: 0 / 0.5858 GB, free: 27.85 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.3579, allocations: 0 / 0.5858 GB, free: 27.85 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.271e-05/0.3579, allocations: 0 / 0.5858 GB, free: 27.85 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.007549/0.3655, allocations: 2.538 MB / 0.5883 GB, free: 26.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3655, allocations: 15.09 kB / 0.5883 GB, free: 26.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004905/0.3704, allocations: 0.7741 MB / 0.5891 GB, free: 26.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/0.3721, allocations: 0.7641 MB / 0.5898 GB, free: 25.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003134/0.3724, allocations: 256.6 kB / 0.5901 GB, free: 25.75 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/0.3726, allocations: 74.88 kB / 0.5901 GB, free: 25.72 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/0.3751, allocations: 1.079 MB / 0.5912 GB, free: 25.33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.3751, allocations: 3.938 kB / 0.5912 GB, free: 25.33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-05/0.3752, allocations: 31.19 kB / 0.5912 GB, free: 25.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.3752, allocations: 18.19 kB / 0.5913 GB, free: 25.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002479/0.3777, allocations: 1.118 MB / 0.5923 GB, free: 24.96 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.005786/0.3835, allocations: 3.441 MB / 0.5957 GB, free: 23 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001923/0.3855, allocations: 1.409 MB / 0.5971 GB, free: 22.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001451/0.3869, allocations: 0.7802 MB / 0.5978 GB, free: 21.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/0.387, allocations: 16.98 kB / 0.5979 GB, free: 21.77 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.3871, allocations: 43.75 kB / 0.5979 GB, free: 21.72 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 2.364e-06/0.3871, allocations: 0 / 0.5979 GB, free: 21.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.02703/0.4141, allocations: 6.747 MB / 0.6045 GB, free: 20.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.4142, allocations: 62.78 kB / 0.6045 GB, free: 20.39 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001156/0.4153, allocations: 0.8831 MB / 0.6054 GB, free: 20.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001974/0.4156, allocations: 45.39 kB / 0.6055 GB, free: 19.97 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002835/0.4158, allocations: 0.4888 MB / 0.6059 GB, free: 19.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000319/0.4162, allocations: 337.8 kB / 0.6063 GB, free: 19.31 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000381/0.4166, allocations: 195.1 kB / 0.6064 GB, free: 19.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.652e-05/0.4166, allocations: 348.8 kB / 0.6068 GB, free: 18.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00155/0.4182, allocations: 0.7155 MB / 0.6075 GB, free: 18.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001626/0.4198, allocations: 0.8435 MB / 0.6083 GB, free: 18.28 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0194/0.4392, allocations: 4.779 MB / 0.613 GB, free: 16.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.657e-06/0.4393, allocations: 5.375 kB / 0.613 GB, free: 16.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=143) (initialization): time 0.01363/0.4529, allocations: 4.255 MB / 0.6171 GB, free: 14.91 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.453, allocations: 8 kB / 0.6171 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.453, allocations: 4 kB / 0.6171 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00563/0.4586, allocations: 1.862 MB / 0.619 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.4597, allocations: 211.6 kB / 0.6192 GB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01748/0.4772, allocations: 8.351 MB / 0.6273 GB, free: 4.336 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.4787, allocations: 175 kB / 0.6275 GB, free: 4.164 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/0.4789, allocations: 39.98 kB / 0.6275 GB, free: 4.125 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.0004348/0.4793, allocations: 237.5 kB / 0.6277 GB, free: 3.887 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/0.4795, allocations: 126.4 kB / 0.6279 GB, free: 3.762 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01184/0.4913, allocations: 4.006 MB / 0.6318 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.4914, allocations: 8 kB / 0.6318 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.4914, allocations: 3.984 kB / 0.6318 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.351e-05/0.4914, allocations: 3.984 kB / 0.6318 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01522/0.5067, allocations: 5.625 MB / 0.6373 GB, free: 9.957 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.5067, allocations: 0 / 0.6373 GB, free: 9.957 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007336/0.5074, allocations: 127.9 kB / 0.6374 GB, free: 9.832 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005848/0.5133, allocations: 1.745 MB / 0.6391 GB, free: 8.078 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001383/0.5135, allocations: 19.98 kB / 0.6391 GB, free: 8.059 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01693/0.5304, allocations: 7.354 MB / 0.6463 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.5304, allocations: 3.938 kB / 0.6463 GB, free: 0.5586 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01515/0.5456, allocations: 4.962 MB / 0.6512 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003726/0.546, allocations: 203.3 kB / 0.6514 GB, free: 11.35 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000278/0.5463, allocations: 20 kB / 0.6514 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.5474, allocations: 111.9 kB / 0.6515 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007507/0.5482, allocations: 212.6 kB / 0.6517 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.271e-05/0.5483, allocations: 20 kB / 0.6517 GB, free: 10.99 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007665/0.5491, allocations: 0.5965 MB / 0.6523 GB, free: 10.39 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5491, allocations: 4 kB / 0.6523 GB, free: 10.38 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001291/0.5504, allocations: 435.4 kB / 0.6527 GB, free: 9.957 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.0002673/0.5507, allocations: 131.1 kB / 0.6528 GB, free: 9.82 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006779/0.5574, allocations: 2.42 MB / 0.6552 GB, free: 7.387 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5575, allocations: 0.5625 kB / 0.6552 GB, free: 7.387 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004802/0.5623, allocations: 1.552 MB / 0.6567 GB, free: 5.816 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009242/0.5632, allocations: 92.34 kB / 0.6568 GB, free: 5.727 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003797/0.567, allocations: 2.359 MB / 0.6591 GB, free: 3.352 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006104/0.5677, allocations: 1.088 MB / 0.6602 GB, free: 2.238 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003769/0.568, allocations: 90.69 kB / 0.6602 GB, free: 2.145 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/0.5683, allocations: 59.42 kB / 0.6603 GB, free: 2.086 MB / 462.1 MB Notification: Performance of SimCode: time 4.21e-07/0.5683, allocations: 0 / 0.6603 GB, free: 2.086 MB / 462.1 MB Notification: Performance of Templates: time 0.03117/0.5995, allocations: 20.87 MB / 0.6807 GB, free: 13.25 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)