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.0008194/0.0008194, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.291/1.291, allocations: 223.3 MB / 239 MB, free: 5.617 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.00101/0.00101, allocations: 168.6 kB / 290.3 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5148/0.5148, allocations: 91.92 MB / 433.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003716, allocations: 12 kB / 0.5042 GB, free: 7.648 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.32, allocations: 72.46 MB / 0.5749 GB, free: 36.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.003655/0.3237, allocations: 5.323 MB / 0.5801 GB, free: 33.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00247/0.3262, allocations: 1.686 MB / 0.5818 GB, free: 32.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004506/0.3267, allocations: 11.56 kB / 0.5818 GB, free: 32.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003492/0.3271, allocations: 139.2 kB / 0.5819 GB, free: 32.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001268/0.3284, allocations: 0.571 MB / 0.5825 GB, free: 31.63 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009276/0.3293, allocations: 492.9 kB / 0.5829 GB, free: 31.38 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001019/0.3304, allocations: 1.126 MB / 0.584 GB, free: 30.81 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003448/0.3307, allocations: 221.8 kB / 0.5843 GB, free: 30.71 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005254/0.3312, allocations: 458.7 kB / 0.5847 GB, free: 30.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005566/0.3318, allocations: 0.5679 MB / 0.5853 GB, free: 30.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.3319, allocations: 47.5 kB / 0.5853 GB, free: 30.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003684/0.3323, allocations: 174.3 kB / 0.5855 GB, free: 30.23 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.3324, allocations: 192.9 kB / 0.5856 GB, free: 30.11 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.3326, allocations: 194.1 kB / 0.5858 GB, free: 29.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007961/0.3334, allocations: 0.9985 MB / 0.5868 GB, free: 29.67 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.3334, allocations: 3.938 kB / 0.5868 GB, free: 29.66 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.584e-06/0.3334, allocations: 0.9062 kB / 0.5868 GB, free: 29.66 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.3334, allocations: 0 / 0.5868 GB, free: 29.66 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.006191/0.3396, allocations: 2.201 MB / 0.589 GB, free: 28.71 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3397, allocations: 8.562 kB / 0.589 GB, free: 28.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004593/0.3443, allocations: 0.7722 MB / 0.5897 GB, free: 28.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.3453, allocations: 0.6752 MB / 0.5904 GB, free: 28.1 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002307/0.3456, allocations: 261.9 kB / 0.5906 GB, free: 27.88 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.3457, allocations: 69.5 kB / 0.5907 GB, free: 27.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/0.3475, allocations: 1.019 MB / 0.5917 GB, free: 27.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.3475, allocations: 1.5 kB / 0.5917 GB, free: 27.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.367e-05/0.3476, allocations: 24.34 kB / 0.5917 GB, free: 27.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.635e-05/0.3476, allocations: 20.23 kB / 0.5917 GB, free: 27.47 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001976/0.3496, allocations: 1.059 MB / 0.5928 GB, free: 27.15 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.004803/0.3544, allocations: 3.246 MB / 0.5959 GB, free: 25.28 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001813/0.3563, allocations: 1.368 MB / 0.5973 GB, free: 24.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001352/0.3576, allocations: 0.7758 MB / 0.598 GB, free: 24.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001047/0.3578, allocations: 11.75 kB / 0.598 GB, free: 24.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.067e-05/0.3578, allocations: 38.66 kB / 0.5981 GB, free: 24.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 2.244e-06/0.3578, allocations: 3.938 kB / 0.5981 GB, free: 24.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.02602/0.3838, allocations: 8.368 MB / 0.6063 GB, free: 22.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.3839, allocations: 60.72 kB / 0.6063 GB, free: 22.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.3851, allocations: 0.8007 MB / 0.6071 GB, free: 22.26 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001765/0.3853, allocations: 40.86 kB / 0.6071 GB, free: 22.21 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003023/0.3856, allocations: 433.3 kB / 0.6076 GB, free: 21.87 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003058/0.3859, allocations: 297.8 kB / 0.6078 GB, free: 21.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.569e-05/0.386, allocations: 19.94 kB / 0.6079 GB, free: 21.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.38e-05/0.3861, allocations: 348 kB / 0.6082 GB, free: 21.3 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00151/0.3876, allocations: 0.7242 MB / 0.6089 GB, free: 21.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001607/0.3892, allocations: 0.8478 MB / 0.6097 GB, free: 20.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.3908, allocations: 0.7642 MB / 0.6105 GB, free: 20.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.174e-06/0.3908, allocations: 1.125 kB / 0.6105 GB, free: 20.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01342/0.4042, allocations: 4.975 MB / 0.6153 GB, free: 19.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.4043, allocations: 6.25 kB / 0.6153 GB, free: 19.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.4043, allocations: 2.344 kB / 0.6153 GB, free: 19.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006007/0.4103, allocations: 2.099 MB / 0.6174 GB, free: 17.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008954/0.4113, allocations: 187.7 kB / 0.6176 GB, free: 17.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01755/0.4288, allocations: 9.52 MB / 0.6269 GB, free: 8.102 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.4303, allocations: 195 kB / 0.627 GB, free: 7.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001562/0.4305, allocations: 35.98 kB / 0.6271 GB, free: 7.875 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.e1q:VARIABLE(start = order31.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 (96): * Single equations (assignments): 95 * 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 {25 11} Notification: Performance of prepare postOptimizeDAE: time 0.0005126/0.431, allocations: 221.6 kB / 0.6273 GB, free: 7.648 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.4312, allocations: 114.6 kB / 0.6274 GB, free: 7.535 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01095/0.4422, allocations: 4.731 MB / 0.632 GB, free: 2.785 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.4422, allocations: 8 kB / 0.632 GB, free: 2.777 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4422, allocations: 4 kB / 0.632 GB, free: 2.773 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.835e-05/0.4422, allocations: 7.984 kB / 0.632 GB, free: 2.766 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01364/0.4559, allocations: 6.255 MB / 0.6381 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.4559, allocations: 3.953 kB / 0.6382 GB, free: 12.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005045/0.4564, allocations: 99.83 kB / 0.6382 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005769/0.4622, allocations: 2.046 MB / 0.6402 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/0.4624, allocations: 16 kB / 0.6403 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01693/0.4793, allocations: 8.206 MB / 0.6483 GB, free: 1.855 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.4793, allocations: 4 kB / 0.6483 GB, free: 1.852 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01387/0.4932, allocations: 5.685 MB / 0.6538 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003843/0.4936, allocations: 187.6 kB / 0.654 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/0.4938, allocations: 23.88 kB / 0.654 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009002/0.4947, allocations: 127.9 kB / 0.6542 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006217/0.4954, allocations: 208.7 kB / 0.6544 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.658e-05/0.4954, allocations: 16 kB / 0.6544 GB, free: 11.57 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006596/0.4961, allocations: 0.5304 MB / 0.6549 GB, free: 11.03 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4961, allocations: 0 / 0.6549 GB, free: 11.03 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001229/0.4974, allocations: 407.5 kB / 0.6553 GB, free: 10.63 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 (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.0002529/0.4976, allocations: 123.2 kB / 0.6554 GB, free: 10.5 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006087/0.5037, allocations: 2.567 MB / 0.6579 GB, free: 7.918 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.5037, allocations: 0 / 0.6579 GB, free: 7.918 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004264/0.508, allocations: 1.689 MB / 0.6595 GB, free: 6.211 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007693/0.5088, allocations: 76.33 kB / 0.6596 GB, free: 6.133 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0032/0.512, allocations: 2.044 MB / 0.6616 GB, free: 4.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000541/0.5126, allocations: 1.025 MB / 0.6626 GB, free: 3.02 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003403/0.5129, allocations: 82.17 kB / 0.6627 GB, free: 2.938 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.5131, allocations: 59.42 kB / 0.6628 GB, free: 2.879 MB / 462.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5131, allocations: 4 kB / 0.6628 GB, free: 2.875 MB / 462.1 MB Notification: Performance of Templates: time 0.02806/0.5412, allocations: 19.13 MB / 0.6814 GB, free: 15.75 MB / 494.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)