Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.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.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 106.8 kB / 16.27 MB, free: 5.984 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.418/1.418, allocations: 222.9 MB / 239.9 MB, free: 4.668 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.001507/0.001507, allocations: 192.5 kB / 290.2 MB, free: 2.391 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5579/0.5579, allocations: 91.9 MB / 432.3 MB, free: 9.324 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 83.86 kB / 0.5025 GB, free: 7.793 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3828, allocations: 71.27 MB / 0.5721 GB, free: 36.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.005256/0.3881, allocations: 5.757 MB / 0.5777 GB, free: 33.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00312/0.3913, allocations: 1.747 MB / 0.5795 GB, free: 32.32 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004742/0.3918, allocations: 9.094 kB / 0.5795 GB, free: 32.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004493/0.3922, allocations: 202.3 kB / 0.5797 GB, free: 32.21 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001397/0.3937, allocations: 0.683 MB / 0.5803 GB, free: 31.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.3948, allocations: 0.5657 MB / 0.5809 GB, free: 31.48 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001027/0.3958, allocations: 1.245 MB / 0.5821 GB, free: 30.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003565/0.3962, allocations: 280.2 kB / 0.5824 GB, free: 30.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005304/0.3967, allocations: 0.5194 MB / 0.5829 GB, free: 30.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005185/0.3972, allocations: 0.6402 MB / 0.5835 GB, free: 30.16 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.3973, allocations: 89.97 kB / 0.5836 GB, free: 30.16 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004056/0.3978, allocations: 227.9 kB / 0.5838 GB, free: 30.11 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.3979, allocations: 235.9 kB / 0.584 GB, free: 29.96 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004065/0.3983, allocations: 0.5518 MB / 0.5846 GB, free: 29.59 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.3994, allocations: 1.334 MB / 0.5859 GB, free: 28.97 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3995, allocations: 0 / 0.5859 GB, free: 28.97 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.3995, allocations: 0 / 0.5859 GB, free: 28.97 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.122e-05/0.3995, allocations: 7.438 kB / 0.5859 GB, free: 28.96 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.007522/0.407, allocations: 2.354 MB / 0.5882 GB, free: 27.88 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.4071, allocations: 9.625 kB / 0.5882 GB, free: 27.88 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005062/0.4122, allocations: 0.76 MB / 0.5889 GB, free: 27.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.4132, allocations: 0.701 MB / 0.5896 GB, free: 27.23 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002571/0.4135, allocations: 256.3 kB / 0.5898 GB, free: 27.01 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.4137, allocations: 70.34 kB / 0.5899 GB, free: 26.99 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001969/0.4156, allocations: 0.9505 MB / 0.5908 GB, free: 26.64 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.4157, allocations: 5.438 kB / 0.5908 GB, free: 26.63 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.425e-05/0.4158, allocations: 24.5 kB / 0.5909 GB, free: 26.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.832e-05/0.4158, allocations: 16.19 kB / 0.5909 GB, free: 26.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/0.4179, allocations: 0.9791 MB / 0.5918 GB, free: 26.3 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.005325/0.4233, allocations: 3.17 MB / 0.5949 GB, free: 24.45 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001977/0.4253, allocations: 1.313 MB / 0.5962 GB, free: 23.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001416/0.4267, allocations: 0.7027 MB / 0.5969 GB, free: 23.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.232e-05/0.4268, allocations: 19.25 kB / 0.5969 GB, free: 23.26 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.4268, allocations: 43.14 kB / 0.597 GB, free: 23.21 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 3.196e-06/0.4268, allocations: 1.406 kB / 0.597 GB, free: 23.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.02852/0.4554, allocations: 6.762 MB / 0.6036 GB, free: 22.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.4555, allocations: 60.59 kB / 0.6036 GB, free: 21.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.4567, allocations: 0.8043 MB / 0.6044 GB, free: 21.59 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002197/0.4569, allocations: 37.58 kB / 0.6044 GB, free: 21.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000261/0.4572, allocations: 433.4 kB / 0.6049 GB, free: 21.21 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002851/0.4575, allocations: 293.3 kB / 0.6051 GB, free: 20.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003689/0.4579, allocations: 178 kB / 0.6053 GB, free: 20.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.691e-05/0.458, allocations: 355.6 kB / 0.6056 GB, free: 20.56 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/0.4594, allocations: 0.6494 MB / 0.6063 GB, free: 20.33 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/0.461, allocations: 0.7732 MB / 0.607 GB, free: 19.99 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0186/0.4796, allocations: 4.503 MB / 0.6114 GB, free: 18.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/0.4796, allocations: 4.781 kB / 0.6114 GB, free: 18.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01379/0.4934, allocations: 4.122 MB / 0.6155 GB, free: 17.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.4935, allocations: 5.688 kB / 0.6155 GB, free: 17.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.4935, allocations: 3.125 kB / 0.6155 GB, free: 17.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006143/0.4997, allocations: 1.789 MB / 0.6172 GB, free: 16.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008859/0.5006, allocations: 171.7 kB / 0.6174 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0197/0.5203, allocations: 9.331 MB / 0.6265 GB, free: 6.391 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.5218, allocations: 155 kB / 0.6266 GB, free: 6.238 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.038e-05/0.5219, allocations: 35.98 kB / 0.6267 GB, free: 6.203 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order31.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order31.delta:VARIABLE(flow=false start = order31.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 (95): * Single equations (assignments): 94 * 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 {(25,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004154/0.5223, allocations: 225.6 kB / 0.6269 GB, free: 5.973 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.5225, allocations: 102.8 kB / 0.627 GB, free: 5.871 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/0.5343, allocations: 3.836 MB / 0.6307 GB, free: 2.016 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/0.5344, allocations: 11.98 kB / 0.6308 GB, free: 2.004 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.5344, allocations: 0 / 0.6308 GB, free: 2.004 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.05e-05/0.5344, allocations: 7.984 kB / 0.6308 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01467/0.5491, allocations: 5.348 MB / 0.636 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.786e-05/0.5491, allocations: 8 kB / 0.636 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005894/0.5497, allocations: 95.81 kB / 0.6361 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006121/0.5559, allocations: 1.741 MB / 0.6378 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001822/0.5561, allocations: 19.98 kB / 0.6378 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01925/0.5753, allocations: 8.068 MB / 0.6457 GB, free: 2.422 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.5754, allocations: 7.875 kB / 0.6457 GB, free: 2.414 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01522/0.5906, allocations: 4.712 MB / 0.6503 GB, free: 13.68 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004204/0.5911, allocations: 187.7 kB / 0.6505 GB, free: 13.48 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/0.5913, allocations: 15.94 kB / 0.6505 GB, free: 13.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000961/0.5922, allocations: 91.89 kB / 0.6506 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006913/0.5929, allocations: 200.7 kB / 0.6508 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.49e-05/0.593, allocations: 16 kB / 0.6508 GB, free: 13.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006632/0.5937, allocations: 0.5421 MB / 0.6513 GB, free: 12.61 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5937, allocations: 0 / 0.6513 GB, free: 12.61 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001227/0.5949, allocations: 411.6 kB / 0.6517 GB, free: 12.2 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (order31.delta,order31.w,order31.e1q) * 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 (49): * Single equations (assignments): 48 * 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.0002845/0.5952, allocations: 123.2 kB / 0.6518 GB, free: 12.07 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00696/0.6022, allocations: 2.353 MB / 0.6541 GB, free: 9.703 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.6022, allocations: 0 / 0.6541 GB, free: 9.703 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004809/0.607, allocations: 1.504 MB / 0.6556 GB, free: 8.188 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000846/0.6079, allocations: 83.22 kB / 0.6557 GB, free: 8.105 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003303/0.6112, allocations: 1.784 MB / 0.6574 GB, free: 6.297 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005555/0.6118, allocations: 1.029 MB / 0.6584 GB, free: 5.242 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002562/0.6121, allocations: 63.42 kB / 0.6585 GB, free: 5.18 MB / 462.1 MB Notification: Performance of SimCode: time 8.01e-07/0.6121, allocations: 0 / 0.6585 GB, free: 5.18 MB / 462.1 MB Notification: Performance of Templates: time 0.02278/0.6349, allocations: 17.76 MB / 0.6758 GB, free: 3.402 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)