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.0007894/0.0007894, allocations: 99.5 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.3 MB / 240 MB, free: 5.348 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.0009884/0.0009883, allocations: 184.5 kB / 291.3 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5356/0.5356, allocations: 91.92 MB / 434.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000407/0.000407, allocations: 8 kB / 0.5054 GB, free: 7.242 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3748, allocations: 72.46 MB / 0.5762 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.004351/0.3791, allocations: 5.671 MB / 0.5817 GB, free: 32.81 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003336/0.3825, allocations: 1.771 MB / 0.5834 GB, free: 31.56 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008755/0.3834, allocations: 8.219 kB / 0.5835 GB, free: 31.56 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005162/0.384, allocations: 151.8 kB / 0.5836 GB, free: 31.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001721/0.3857, allocations: 0.6139 MB / 0.5842 GB, free: 31.1 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.3868, allocations: 0.5183 MB / 0.5847 GB, free: 30.82 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00132/0.3881, allocations: 1.195 MB / 0.5859 GB, free: 30.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003578/0.3885, allocations: 237.5 kB / 0.5861 GB, free: 30.12 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006085/0.3891, allocations: 475.1 kB / 0.5865 GB, free: 29.91 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005261/0.3896, allocations: 0.5904 MB / 0.5871 GB, free: 29.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.3897, allocations: 45.78 kB / 0.5872 GB, free: 29.64 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004119/0.3902, allocations: 175.8 kB / 0.5873 GB, free: 29.6 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.3903, allocations: 199.5 kB / 0.5875 GB, free: 29.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003381/0.3907, allocations: 0.5211 MB / 0.588 GB, free: 29.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000759/0.3914, allocations: 0.9943 MB / 0.589 GB, free: 28.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3914, allocations: 0 / 0.589 GB, free: 28.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3914, allocations: 0 / 0.589 GB, free: 28.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.3915, allocations: 0 / 0.589 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.006697/0.3982, allocations: 2.198 MB / 0.5912 GB, free: 27.84 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.3982, allocations: 9.062 kB / 0.5912 GB, free: 27.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005004/0.4032, allocations: 0.7677 MB / 0.5919 GB, free: 27.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.4044, allocations: 0.7026 MB / 0.5926 GB, free: 27.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002679/0.4047, allocations: 266.6 kB / 0.5929 GB, free: 26.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001483/0.4048, allocations: 68.84 kB / 0.5929 GB, free: 26.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002056/0.4069, allocations: 1.035 MB / 0.5939 GB, free: 26.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.4069, allocations: 3.938 kB / 0.5939 GB, free: 26.58 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-05/0.407, allocations: 30.47 kB / 0.594 GB, free: 26.56 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.407, allocations: 15 kB / 0.594 GB, free: 26.56 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/0.4092, allocations: 1.06 MB / 0.595 GB, free: 26.24 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.005249/0.4145, allocations: 3.229 MB / 0.5982 GB, free: 24.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002107/0.4166, allocations: 1.38 MB / 0.5995 GB, free: 23.48 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001558/0.4182, allocations: 0.7775 MB / 0.6003 GB, free: 23.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.251e-05/0.4183, allocations: 10.61 kB / 0.6003 GB, free: 23.2 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.4183, allocations: 42.38 kB / 0.6003 GB, free: 23.15 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 2.895e-06/0.4183, allocations: 1.5 kB / 0.6003 GB, free: 23.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=82): time 0.0313/0.4496, allocations: 8.416 MB / 0.6085 GB, free: 21.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.468e-05/0.4497, allocations: 61.03 kB / 0.6086 GB, free: 21.69 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.4512, allocations: 0.8067 MB / 0.6094 GB, free: 21.33 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000221/0.4515, allocations: 41.05 kB / 0.6094 GB, free: 21.29 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003045/0.4518, allocations: 425.4 kB / 0.6098 GB, free: 20.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004145/0.4522, allocations: 294.7 kB / 0.6101 GB, free: 20.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000237/0.4525, allocations: 99.06 kB / 0.6102 GB, free: 20.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.4526, allocations: 343.8 kB / 0.6105 GB, free: 20.34 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001721/0.4543, allocations: 0.7318 MB / 0.6113 GB, free: 20.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001851/0.4562, allocations: 0.8477 MB / 0.6121 GB, free: 19.74 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01986/0.476, allocations: 4.995 MB / 0.617 GB, free: 18.44 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/0.4761, allocations: 0 / 0.617 GB, free: 18.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01492/0.491, allocations: 5.028 MB / 0.6219 GB, free: 14.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.068e-05/0.4911, allocations: 8 kB / 0.6219 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.4911, allocations: 0 / 0.6219 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006446/0.4976, allocations: 2.108 MB / 0.6239 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009057/0.4985, allocations: 171.8 kB / 0.6241 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02045/0.519, allocations: 9.578 MB / 0.6335 GB, free: 2.402 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/0.5208, allocations: 191 kB / 0.6336 GB, free: 2.215 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002194/0.521, allocations: 35.98 kB / 0.6337 GB, free: 2.18 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.0006476/0.5217, allocations: 236 kB / 0.6339 GB, free: 1.945 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003358/0.522, allocations: 110.7 kB / 0.634 GB, free: 1.836 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01449/0.5365, allocations: 4.747 MB / 0.6386 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.2e-05/0.5366, allocations: 8 kB / 0.6386 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.5366, allocations: 0 / 0.6386 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.893e-05/0.5366, allocations: 3.984 kB / 0.6386 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01808/0.5547, allocations: 6.258 MB / 0.6448 GB, free: 6.652 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.491e-05/0.5548, allocations: 0 / 0.6448 GB, free: 6.652 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006354/0.5554, allocations: 99.88 kB / 0.6449 GB, free: 6.555 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006996/0.5625, allocations: 2.061 MB / 0.6469 GB, free: 4.488 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002184/0.5627, allocations: 12 kB / 0.6469 GB, free: 4.477 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0208/0.5835, allocations: 8.21 MB / 0.6549 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.5836, allocations: 0 / 0.6549 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01833/0.6019, allocations: 5.7 MB / 0.6605 GB, free: 6.402 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005204/0.6025, allocations: 191.6 kB / 0.6606 GB, free: 6.195 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003918/0.6029, allocations: 16 kB / 0.6607 GB, free: 6.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/0.6042, allocations: 127.9 kB / 0.6608 GB, free: 6.055 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007693/0.605, allocations: 196.6 kB / 0.661 GB, free: 5.859 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.6051, allocations: 19.98 kB / 0.661 GB, free: 5.84 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008822/0.606, allocations: 0.5383 MB / 0.6615 GB, free: 5.289 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.606, allocations: 3.938 kB / 0.6615 GB, free: 5.285 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001656/0.6077, allocations: 411.6 kB / 0.6619 GB, free: 4.883 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.0003451/0.6081, allocations: 127.1 kB / 0.662 GB, free: 4.75 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007532/0.6156, allocations: 2.601 MB / 0.6646 GB, free: 2.141 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.6156, allocations: 0 / 0.6646 GB, free: 2.141 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005343/0.621, allocations: 1.678 MB / 0.6662 GB, free: 456 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/0.6223, allocations: 89.7 kB / 0.6663 GB, free: 364 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004074/0.6264, allocations: 2.168 MB / 0.6684 GB, free: 14.16 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007342/0.6271, allocations: 1.037 MB / 0.6694 GB, free: 13.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/0.6274, allocations: 67.36 kB / 0.6695 GB, free: 13.04 MB / 478.1 MB Notification: Performance of SimCode: time 7.91e-07/0.6274, allocations: 0 / 0.6695 GB, free: 13.04 MB / 478.1 MB Notification: Performance of Templates: time 0.02835/0.6558, allocations: 17.64 MB / 0.6867 GB, free: 11.37 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)