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/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.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 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_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/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 182.8 kB / 15.98 MB, free: 5.766 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.256/1.256, 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.001007/0.001007, allocations: 106.2 kB / 289.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4193/0.4193, allocations: 78.48 MB / 418.5 MB, free: 8.828 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 63.91 kB / 497.4 MB, free: 10.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2672, allocations: 68.12 MB / 0.5523 GB, free: 20.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Machines.PSAT.Order3test2): time 0.004606/0.2718, allocations: 6.091 MB / 0.5582 GB, free: 14.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002653/0.2745, allocations: 1.79 MB / 0.56 GB, free: 12.35 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000338/0.2749, allocations: 8 kB / 0.56 GB, free: 12.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003827/0.2753, allocations: 163 kB / 0.5602 GB, free: 12.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001255/0.2766, allocations: 0.6099 MB / 0.5608 GB, free: 11.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009556/0.2775, allocations: 0.5283 MB / 0.5613 GB, free: 11.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008294/0.2784, allocations: 1.206 MB / 0.5624 GB, free: 9.836 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002848/0.2786, allocations: 237.7 kB / 0.5627 GB, free: 9.594 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003691/0.279, allocations: 497.6 kB / 0.5631 GB, free: 9.105 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000429/0.2795, allocations: 0.6182 MB / 0.5638 GB, free: 8.484 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.208e-05/0.2796, allocations: 56 kB / 0.5638 GB, free: 8.43 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003152/0.2799, allocations: 187.9 kB / 0.564 GB, free: 8.246 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.28, allocations: 222.9 kB / 0.5642 GB, free: 8.027 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002848/0.2803, allocations: 0.5124 MB / 0.5647 GB, free: 7.512 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000756/0.2811, allocations: 1.304 MB / 0.566 GB, free: 6.203 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2811, allocations: 0 / 0.566 GB, free: 6.203 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.2811, allocations: 4 kB / 0.566 GB, free: 6.199 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.2811, allocations: 0 / 0.566 GB, free: 6.199 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.006878/0.288, allocations: 2.36 MB / 0.5683 GB, free: 3.785 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.288, allocations: 8.031 kB / 0.5683 GB, free: 3.777 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004519/0.2926, allocations: 0.7557 MB / 0.569 GB, free: 3.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008994/0.2935, allocations: 0.7088 MB / 0.5697 GB, free: 2.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002249/0.2937, allocations: 248.2 kB / 0.57 GB, free: 1.988 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.2938, allocations: 68 kB / 0.57 GB, free: 1.922 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001724/0.2956, allocations: 0.9521 MB / 0.5709 GB, free: 0.9648 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.2956, allocations: 3.938 kB / 0.571 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.466e-05/0.2957, allocations: 24 kB / 0.571 GB, free: 0.9375 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.2957, allocations: 20 kB / 0.571 GB, free: 0.918 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/0.2976, allocations: 0.9798 MB / 0.572 GB, free: 15.94 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.005306/0.3029, allocations: 3.174 MB / 0.5751 GB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002026/0.3049, allocations: 1.307 MB / 0.5763 GB, free: 11.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001478/0.3064, allocations: 0.6944 MB / 0.577 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001104/0.3066, allocations: 20.62 kB / 0.577 GB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.3066, allocations: 43.22 kB / 0.5771 GB, free: 10.41 MB / 394.7 MB Notification: Performance of pre-optimization done (n=82): time 5.44e-06/0.3066, allocations: 0 / 0.5771 GB, free: 10.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=82): time 0.02823/0.3348, allocations: 6.763 MB / 0.5837 GB, free: 3.617 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.3349, allocations: 60.06 kB / 0.5837 GB, free: 3.547 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.336, allocations: 0.8064 MB / 0.5845 GB, free: 2.715 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001373/0.3361, allocations: 41.7 kB / 0.5846 GB, free: 2.668 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002818/0.3364, allocations: 432.4 kB / 0.585 GB, free: 2.238 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.3367, allocations: 287.8 kB / 0.5852 GB, free: 1.953 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003579/0.337, allocations: 190.8 kB / 0.5854 GB, free: 1.762 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.3372, allocations: 345.9 kB / 0.5858 GB, free: 1.418 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.3386, allocations: 0.6467 MB / 0.5864 GB, free: 0.7695 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/0.3402, allocations: 0.7757 MB / 0.5871 GB, free: 15.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01778/0.358, allocations: 4.491 MB / 0.5915 GB, free: 11.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.193e-06/0.358, allocations: 0 / 0.5915 GB, free: 11.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.01402/0.372, allocations: 4.125 MB / 0.5956 GB, free: 7.297 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.781e-05/0.3721, allocations: 8 kB / 0.5956 GB, free: 7.289 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.3721, allocations: 0 / 0.5956 GB, free: 7.289 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006593/0.3787, allocations: 1.784 MB / 0.5973 GB, free: 5.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008662/0.3796, allocations: 167.7 kB / 0.5975 GB, free: 5.336 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02168/0.4013, allocations: 8.593 MB / 0.6059 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.4029, allocations: 162.9 kB / 0.606 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.254e-05/0.403, allocations: 39.98 kB / 0.6061 GB, free: 12.41 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.0003994/0.4034, allocations: 225.2 kB / 0.6063 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.4036, allocations: 102.7 kB / 0.6064 GB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02235/0.4259, allocations: 3.833 MB / 0.6101 GB, free: 8.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/0.426, allocations: 12 kB / 0.6101 GB, free: 8.219 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.426, allocations: 0 / 0.6101 GB, free: 8.219 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.05e-05/0.4261, allocations: 3.984 kB / 0.6101 GB, free: 8.215 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02768/0.4538, allocations: 5.36 MB / 0.6154 GB, free: 2.715 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/0.4538, allocations: 0 / 0.6154 GB, free: 2.715 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/0.4549, allocations: 83.89 kB / 0.6154 GB, free: 2.633 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01187/0.4668, allocations: 1.745 MB / 0.6171 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001754/0.467, allocations: 20 kB / 0.6172 GB, free: 0.8633 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03159/0.4987, allocations: 7.35 MB / 0.6243 GB, free: 9.375 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4987, allocations: 0 / 0.6243 GB, free: 9.375 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1023/0.601, allocations: 31.09 MB / 0.6547 GB, free: 9.945 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/0.6012, allocations: 187.6 kB / 0.6549 GB, free: 9.742 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001183/0.6014, allocations: 16 kB / 0.6549 GB, free: 9.727 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009935/0.6024, allocations: 91.89 kB / 0.655 GB, free: 9.637 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000603/0.603, allocations: 196.7 kB / 0.6552 GB, free: 9.445 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.438e-05/0.603, allocations: 16 kB / 0.6552 GB, free: 9.43 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006487/0.6037, allocations: 0.5421 MB / 0.6557 GB, free: 8.875 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6037, allocations: 0 / 0.6557 GB, free: 8.875 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001441/0.6052, allocations: 0.5582 MB / 0.6563 GB, free: 8.316 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.0002328/0.6054, allocations: 123.2 kB / 0.6564 GB, free: 8.184 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006502/0.6119, allocations: 2.3 MB / 0.6586 GB, free: 5.867 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.6119, allocations: 0 / 0.6586 GB, free: 5.867 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004618/0.6166, allocations: 1.455 MB / 0.66 GB, free: 4.398 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006461/0.6172, allocations: 83.33 kB / 0.6601 GB, free: 4.316 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006757/0.624, allocations: 3.344 MB / 0.6634 GB, free: 0.9141 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006007/0.6246, allocations: 1.071 MB / 0.6644 GB, free: 15.81 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003/0.6249, allocations: 74.19 kB / 0.6645 GB, free: 15.74 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000197/0.6251, allocations: 59.42 kB / 0.6646 GB, free: 15.68 MB / 490.7 MB Notification: Performance of SimCode: time 4.11e-07/0.6251, allocations: 0 / 0.6646 GB, free: 15.68 MB / 490.7 MB Notification: Performance of Templates: time 0.2311/0.8563, allocations: 29.48 MB / 0.6934 GB, free: 112.5 MB / 490.7 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)