Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order2test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007785/0.0007787, allocations: 84.38 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.283/1.283, allocations: 223.3 MB / 239 MB, free: 5.441 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.0009576/0.0009575, allocations: 176.5 kB / 290.3 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4968/0.4968, allocations: 91.92 MB / 433.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003581, allocations: 12 kB / 0.5042 GB, free: 7.629 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3236, allocations: 72.47 MB / 0.5749 GB, free: 36.45 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order2test2): time 0.003593/0.3272, allocations: 5.266 MB / 0.5801 GB, free: 33.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002168/0.3294, allocations: 1.669 MB / 0.5817 GB, free: 32.06 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003225/0.3297, allocations: 14.28 kB / 0.5817 GB, free: 32.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002874/0.33, allocations: 144.9 kB / 0.5819 GB, free: 31.99 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001068/0.3311, allocations: 0.5618 MB / 0.5824 GB, free: 31.62 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007948/0.3319, allocations: 488 kB / 0.5829 GB, free: 31.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008317/0.3327, allocations: 1.117 MB / 0.584 GB, free: 30.8 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002892/0.333, allocations: 220.7 kB / 0.5842 GB, free: 30.71 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004203/0.3335, allocations: 450.6 kB / 0.5846 GB, free: 30.51 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004537/0.3339, allocations: 0.5644 MB / 0.5852 GB, free: 30.26 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.406e-05/0.334, allocations: 51.28 kB / 0.5852 GB, free: 30.26 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000306/0.3343, allocations: 167.3 kB / 0.5854 GB, free: 30.22 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.3345, allocations: 192.2 kB / 0.5856 GB, free: 30.11 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.3346, allocations: 196.9 kB / 0.5857 GB, free: 29.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007032/0.3353, allocations: 0.9789 MB / 0.5867 GB, free: 29.67 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3353, allocations: 2.953 kB / 0.5867 GB, free: 29.67 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3353, allocations: 0.7188 kB / 0.5867 GB, free: 29.67 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.3354, allocations: 0 / 0.5867 GB, free: 29.67 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.005797/0.3412, allocations: 2.182 MB / 0.5888 GB, free: 28.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.3412, allocations: 8.75 kB / 0.5888 GB, free: 28.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004542/0.3458, allocations: 0.77 MB / 0.5896 GB, free: 28.58 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009411/0.3467, allocations: 0.6635 MB / 0.5902 GB, free: 28.12 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002454/0.347, allocations: 254.8 kB / 0.5905 GB, free: 27.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.3471, allocations: 68.03 kB / 0.5905 GB, free: 27.88 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/0.349, allocations: 1.014 MB / 0.5915 GB, free: 27.53 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.349, allocations: 2.875 kB / 0.5915 GB, free: 27.53 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.337e-05/0.3491, allocations: 27.62 kB / 0.5916 GB, free: 27.51 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.3491, allocations: 22.27 kB / 0.5916 GB, free: 27.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001899/0.351, allocations: 1.053 MB / 0.5926 GB, free: 27.18 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.004416/0.3554, allocations: 3.215 MB / 0.5958 GB, free: 25.33 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/0.3572, allocations: 1.377 MB / 0.5971 GB, free: 24.42 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001303/0.3585, allocations: 0.7748 MB / 0.5979 GB, free: 24.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.3586, allocations: 9.375 kB / 0.5979 GB, free: 24.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.774e-05/0.3586, allocations: 45.62 kB / 0.5979 GB, free: 24.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=81): time 2.285e-06/0.3587, allocations: 1.062 kB / 0.5979 GB, free: 24.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=81): time 0.02566/0.3843, allocations: 8.276 MB / 0.606 GB, free: 22.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.3844, allocations: 59.16 kB / 0.6061 GB, free: 22.67 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001194/0.3856, allocations: 0.7728 MB / 0.6068 GB, free: 22.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001546/0.3858, allocations: 44.67 kB / 0.6068 GB, free: 22.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002595/0.386, allocations: 428.7 kB / 0.6073 GB, free: 21.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002729/0.3863, allocations: 293.5 kB / 0.6075 GB, free: 21.72 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.237e-05/0.3864, allocations: 20.5 kB / 0.6076 GB, free: 21.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.538e-05/0.3865, allocations: 345.8 kB / 0.6079 GB, free: 21.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/0.3879, allocations: 0.7183 MB / 0.6086 GB, free: 21.13 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/0.3893, allocations: 0.8346 MB / 0.6094 GB, free: 20.79 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.3908, allocations: 0.7583 MB / 0.6101 GB, free: 20.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.3909, allocations: 0 / 0.6101 GB, free: 20.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01394/0.4048, allocations: 4.929 MB / 0.615 GB, free: 19.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.4049, allocations: 6.438 kB / 0.615 GB, free: 19.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.4049, allocations: 2.797 kB / 0.615 GB, free: 19.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00605/0.4109, allocations: 2.162 MB / 0.6171 GB, free: 18.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007692/0.4117, allocations: 171.7 kB / 0.6172 GB, free: 18.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01701/0.4287, allocations: 9.358 MB / 0.6264 GB, free: 8.578 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001262/0.43, allocations: 187.1 kB / 0.6266 GB, free: 8.395 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.054e-05/0.4301, allocations: 35.98 kB / 0.6266 GB, free: 8.359 MB / 430.1 MB Warning: Assuming fixed start value for the following 2 variables: order21.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order21.delta:VARIABLE(flow=false start = order21.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 (92): * Single equations (assignments): 91 * 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.0003771/0.4305, allocations: 229.6 kB / 0.6268 GB, free: 8.125 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.4307, allocations: 102.7 kB / 0.6269 GB, free: 8.023 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01111/0.4418, allocations: 4.719 MB / 0.6315 GB, free: 3.289 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.4418, allocations: 8 kB / 0.6315 GB, free: 3.281 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.4418, allocations: 3.938 kB / 0.6315 GB, free: 3.277 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.4418, allocations: 3.984 kB / 0.6315 GB, free: 3.273 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01336/0.4552, allocations: 6.235 MB / 0.6376 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/0.4553, allocations: 0 / 0.6376 GB, free: 12.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005402/0.4558, allocations: 95.83 kB / 0.6377 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005767/0.4616, allocations: 2.058 MB / 0.6397 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001343/0.4617, allocations: 12 kB / 0.6397 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0167/0.4785, allocations: 8.213 MB / 0.6478 GB, free: 2.371 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4785, allocations: 7.938 kB / 0.6478 GB, free: 2.363 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01399/0.4925, allocations: 5.657 MB / 0.6533 GB, free: 12.68 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003461/0.4929, allocations: 191.7 kB / 0.6535 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.493, allocations: 15.95 kB / 0.6535 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008503/0.4939, allocations: 132 kB / 0.6536 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006407/0.4945, allocations: 200.6 kB / 0.6538 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.403e-05/0.4946, allocations: 20 kB / 0.6538 GB, free: 12.11 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006537/0.4953, allocations: 0.5185 MB / 0.6543 GB, free: 11.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4953, allocations: 0 / 0.6543 GB, free: 11.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001093/0.4964, allocations: 407.5 kB / 0.6547 GB, free: 11.2 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (order21.delta,order21.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 (48): * Single equations (assignments): 47 * 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.0002227/0.4966, allocations: 123.2 kB / 0.6548 GB, free: 11.07 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005814/0.5024, allocations: 2.551 MB / 0.6573 GB, free: 8.508 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5024, allocations: 0 / 0.6573 GB, free: 8.508 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00404/0.5065, allocations: 1.689 MB / 0.659 GB, free: 6.801 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006372/0.5071, allocations: 79.3 kB / 0.6591 GB, free: 6.727 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002858/0.51, allocations: 1.958 MB / 0.661 GB, free: 4.754 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005619/0.5106, allocations: 1.025 MB / 0.662 GB, free: 3.699 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002839/0.5109, allocations: 78.17 kB / 0.662 GB, free: 3.621 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.511, allocations: 55.42 kB / 0.6621 GB, free: 3.566 MB / 462.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5111, allocations: 4 kB / 0.6621 GB, free: 3.562 MB / 462.1 MB Notification: Performance of Templates: time 0.02684/0.5379, allocations: 18.83 MB / 0.6805 GB, free: 0.7422 MB / 478.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Machines.PSAT.Order2test2.pipe 2>&1)