Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_OpenIPSL.Tests.Machines.PSAT.Order3test2") translateModel(OpenIPSL.Tests.Machines.PSAT.Order3test2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.185/1.185, allocations: 222.9 MB / 239.7 MB, free: 11.01 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008862/0.0008862, allocations: 107.7 kB / 289.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4076/0.4076, allocations: 78.51 MB / 418.5 MB, free: 8.562 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 68.11 kB / 497.5 MB, free: 10.3 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2738, allocations: 68.16 MB / 0.5524 GB, free: 19.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.004395/0.2783, allocations: 6.091 MB / 0.5584 GB, free: 13.8 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002131/0.2804, allocations: 1.786 MB / 0.5601 GB, free: 12.01 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003435/0.2808, allocations: 12 kB / 0.5601 GB, free: 12 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.2811, allocations: 155 kB / 0.5603 GB, free: 11.85 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001119/0.2823, allocations: 0.6179 MB / 0.5609 GB, free: 11.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008223/0.2831, allocations: 0.5131 MB / 0.5614 GB, free: 10.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006771/0.2838, allocations: 1.206 MB / 0.5625 GB, free: 9.508 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002735/0.2841, allocations: 247.5 kB / 0.5628 GB, free: 9.254 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003349/0.2844, allocations: 497.7 kB / 0.5633 GB, free: 8.766 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004491/0.2849, allocations: 0.6143 MB / 0.5639 GB, free: 8.148 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.859e-05/0.285, allocations: 56 kB / 0.5639 GB, free: 8.094 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002857/0.2853, allocations: 191.8 kB / 0.5641 GB, free: 7.906 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.2854, allocations: 207 kB / 0.5643 GB, free: 7.703 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002726/0.2857, allocations: 0.5202 MB / 0.5648 GB, free: 7.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007251/0.2864, allocations: 1.302 MB / 0.5661 GB, free: 5.875 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.2864, allocations: 0 / 0.5661 GB, free: 5.875 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2864, allocations: 0 / 0.5661 GB, free: 5.875 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.2864, allocations: 4 kB / 0.5661 GB, free: 5.871 MB / 378.7 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.006395/0.2928, allocations: 2.36 MB / 0.5684 GB, free: 3.457 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.2929, allocations: 12.03 kB / 0.5684 GB, free: 3.445 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004261/0.2971, allocations: 0.7518 MB / 0.5691 GB, free: 2.691 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007626/0.2979, allocations: 0.7088 MB / 0.5698 GB, free: 1.941 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001964/0.2981, allocations: 256.2 kB / 0.5701 GB, free: 1.652 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.2982, allocations: 64 kB / 0.5701 GB, free: 1.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.2999, allocations: 0.956 MB / 0.5711 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.2999, allocations: 3.938 kB / 0.5711 GB, free: 0.625 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.316e-05/0.3, allocations: 28 kB / 0.5711 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.3, allocations: 16 kB / 0.5711 GB, free: 0.582 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001893/0.3019, allocations: 0.9761 MB / 0.572 GB, free: 15.6 MB / 394.7 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.004883/0.3068, allocations: 3.178 MB / 0.5752 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/0.3088, allocations: 1.309 MB / 0.5764 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001362/0.3102, allocations: 0.7022 MB / 0.5771 GB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/0.3103, allocations: 12.64 kB / 0.5771 GB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.3104, allocations: 43.22 kB / 0.5772 GB, free: 10.08 MB / 394.7 MB Notification: Performance of pre-optimization done (n=82): time 2.926e-06/0.3104, allocations: 0 / 0.5772 GB, free: 10.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=82): time 0.02697/0.3373, allocations: 6.77 MB / 0.5838 GB, free: 3.273 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.3374, allocations: 60.06 kB / 0.5838 GB, free: 3.203 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.3385, allocations: 0.7986 MB / 0.5846 GB, free: 2.379 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001185/0.3386, allocations: 37.7 kB / 0.5847 GB, free: 2.336 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00032/0.339, allocations: 436.4 kB / 0.5851 GB, free: 1.902 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003002/0.3393, allocations: 287.8 kB / 0.5853 GB, free: 1.617 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003617/0.3397, allocations: 186.8 kB / 0.5855 GB, free: 1.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3398, allocations: 349.9 kB / 0.5859 GB, free: 1.082 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/0.3412, allocations: 0.6506 MB / 0.5865 GB, free: 440 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/0.3428, allocations: 0.7756 MB / 0.5873 GB, free: 15.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01742/0.3602, allocations: 4.488 MB / 0.5916 GB, free: 11.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.413e-06/0.3603, allocations: 0 / 0.5916 GB, free: 11.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01341/0.3737, allocations: 4.125 MB / 0.5957 GB, free: 6.961 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.3738, allocations: 11.94 kB / 0.5957 GB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.3738, allocations: 0 / 0.5957 GB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006157/0.3799, allocations: 1.78 MB / 0.5974 GB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008581/0.3808, allocations: 171.7 kB / 0.5976 GB, free: 4.996 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02001/0.4008, allocations: 8.587 MB / 0.606 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.4022, allocations: 159 kB / 0.6061 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.222e-05/0.4023, allocations: 39.98 kB / 0.6061 GB, free: 12.09 MB / 426.7 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.0004024/0.4027, allocations: 237.2 kB / 0.6064 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.4029, allocations: 98.78 kB / 0.6065 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01259/0.4155, allocations: 3.829 MB / 0.6102 GB, free: 7.902 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.4155, allocations: 8 kB / 0.6102 GB, free: 7.895 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.4156, allocations: 3.984 kB / 0.6102 GB, free: 7.891 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.59e-05/0.4156, allocations: 3.984 kB / 0.6102 GB, free: 7.887 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01429/0.4299, allocations: 5.352 MB / 0.6155 GB, free: 2.395 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.45e-05/0.4299, allocations: 0 / 0.6155 GB, free: 2.395 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005297/0.4305, allocations: 95.77 kB / 0.6155 GB, free: 2.301 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005786/0.4363, allocations: 1.745 MB / 0.6172 GB, free: 0.5508 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/0.4364, allocations: 15.98 kB / 0.6173 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01705/0.4534, allocations: 7.354 MB / 0.6244 GB, free: 9.043 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4535, allocations: 0 / 0.6244 GB, free: 9.043 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08729/0.5408, allocations: 31.09 MB / 0.6548 GB, free: 9.613 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002722/0.5411, allocations: 191.6 kB / 0.655 GB, free: 9.406 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002363/0.5413, allocations: 12 kB / 0.655 GB, free: 9.395 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009924/0.5423, allocations: 91.89 kB / 0.6551 GB, free: 9.305 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006152/0.543, allocations: 192.7 kB / 0.6553 GB, free: 9.117 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.51e-05/0.543, allocations: 23.98 kB / 0.6553 GB, free: 9.094 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006568/0.5437, allocations: 0.5421 MB / 0.6558 GB, free: 8.539 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5437, allocations: 0 / 0.6558 GB, free: 8.539 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001494/0.5452, allocations: 0.5504 MB / 0.6564 GB, free: 7.988 MB / 474.7 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.0002391/0.5455, allocations: 127.2 kB / 0.6565 GB, free: 7.852 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006141/0.5516, allocations: 2.293 MB / 0.6587 GB, free: 5.543 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5516, allocations: 4.125 kB / 0.6587 GB, free: 5.539 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00458/0.5562, allocations: 1.454 MB / 0.6601 GB, free: 4.07 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.5573, allocations: 75.34 kB / 0.6602 GB, free: 3.996 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00768/0.565, allocations: 3.359 MB / 0.6635 GB, free: 0.5859 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006884/0.5657, allocations: 1.071 MB / 0.6645 GB, free: 15.48 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003577/0.5661, allocations: 78.19 kB / 0.6646 GB, free: 15.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.5663, allocations: 51.44 kB / 0.6647 GB, free: 15.36 MB / 490.7 MB Notification: Performance of SimCode: time 6.31e-07/0.5663, allocations: 0 / 0.6647 GB, free: 15.36 MB / 490.7 MB Notification: Performance of Templates: time 0.2487/0.815, allocations: 29.5 MB / 0.6935 GB, free: 111.8 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.sim & ./OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Machines.PSAT.Order3test2.pipe 2>&1)