Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.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.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 175.4 kB / 16.08 MB, free: 5.723 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.268/1.268, allocations: 222.9 MB / 239.7 MB, free: 10.15 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.0008138/0.0008138, allocations: 93.59 kB / 290.5 MB, free: 11.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4292/0.4292, allocations: 78.42 MB / 419.6 MB, free: 9.707 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.0003249, allocations: 8.219 kB / 499.1 MB, free: 10.61 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2652, allocations: 68.75 MB / 0.5545 GB, free: 20.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI): time 0.005079/0.2704, allocations: 6.88 MB / 0.5612 GB, free: 13.29 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003022/0.2734, allocations: 2.079 MB / 0.5633 GB, free: 11.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005017/0.2739, allocations: 15.94 kB / 0.5633 GB, free: 11.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005359/0.2745, allocations: 190.8 kB / 0.5635 GB, free: 11 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001358/0.2759, allocations: 0.7248 MB / 0.5642 GB, free: 10.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009602/0.2768, allocations: 0.63 MB / 0.5648 GB, free: 9.648 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009418/0.2778, allocations: 1.542 MB / 0.5663 GB, free: 8.098 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000302/0.2781, allocations: 289.3 kB / 0.5666 GB, free: 7.805 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004949/0.2786, allocations: 0.5754 MB / 0.5671 GB, free: 7.227 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005545/0.2792, allocations: 0.7854 MB / 0.5679 GB, free: 6.438 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.2793, allocations: 64 kB / 0.568 GB, free: 6.375 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003457/0.2796, allocations: 187.9 kB / 0.5681 GB, free: 6.191 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.2798, allocations: 282.6 kB / 0.5684 GB, free: 5.914 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000327/0.2802, allocations: 0.6132 MB / 0.569 GB, free: 5.297 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000889/0.2811, allocations: 1.609 MB / 0.5706 GB, free: 3.684 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2811, allocations: 0 / 0.5706 GB, free: 3.684 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2811, allocations: 4 kB / 0.5706 GB, free: 3.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.2811, allocations: 0 / 0.5706 GB, free: 3.68 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.007488/0.2886, allocations: 2.501 MB / 0.573 GB, free: 1.113 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.2886, allocations: 8.031 kB / 0.573 GB, free: 1.105 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004746/0.2934, allocations: 0.7787 MB / 0.5738 GB, free: 332 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/0.2949, allocations: 0.918 MB / 0.5747 GB, free: 15.35 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002497/0.2952, allocations: 230.5 kB / 0.5749 GB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.2954, allocations: 83.91 kB / 0.575 GB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002068/0.2974, allocations: 1.115 MB / 0.5761 GB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.2975, allocations: 0 / 0.5761 GB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.9e-05/0.2976, allocations: 32 kB / 0.5761 GB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.2976, allocations: 20 kB / 0.5761 GB, free: 13.83 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002084/0.2997, allocations: 1.023 MB / 0.5771 GB, free: 12.81 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.006644/0.3063, allocations: 3.968 MB / 0.581 GB, free: 8.648 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007231/0.3136, allocations: 2.363 MB / 0.5833 GB, free: 6.195 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001331/0.3149, allocations: 0.7073 MB / 0.584 GB, free: 5.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/0.315, allocations: 24.97 kB / 0.584 GB, free: 5.457 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.3151, allocations: 43.56 kB / 0.5841 GB, free: 5.406 MB / 394.7 MB Notification: Performance of pre-optimization done (n=95): time 2.534e-06/0.3151, allocations: 0 / 0.5841 GB, free: 5.406 MB / 394.7 MB Notification: Performance of matching and sorting (n=95): time 0.02636/0.3414, allocations: 6.763 MB / 0.5907 GB, free: 14.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.227e-05/0.3415, allocations: 137.5 kB / 0.5908 GB, free: 14.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/0.3431, allocations: 1.127 MB / 0.5919 GB, free: 13.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001089/0.3432, allocations: 49.7 kB / 0.5919 GB, free: 13.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003518/0.3436, allocations: 0.493 MB / 0.5924 GB, free: 12.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003273/0.3439, allocations: 362.9 kB / 0.5928 GB, free: 12.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.3441, allocations: 145.6 kB / 0.5929 GB, free: 12.23 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.3442, allocations: 301.1 kB / 0.5932 GB, free: 11.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001569/0.3458, allocations: 0.7847 MB / 0.594 GB, free: 11.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001693/0.3475, allocations: 0.9702 MB / 0.5949 GB, free: 10.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02465/0.3722, allocations: 5.908 MB / 0.6007 GB, free: 4.145 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.3722, allocations: 0 / 0.6007 GB, free: 4.145 MB / 410.7 MB Notification: Performance of matching and sorting (n=194) (initialization): time 0.01389/0.3861, allocations: 4.481 MB / 0.6051 GB, free: 15.63 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001672/0.3863, allocations: 234.8 kB / 0.6053 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.3863, allocations: 7.984 kB / 0.6053 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006189/0.3925, allocations: 1.658 MB / 0.6069 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.3939, allocations: 283.6 kB / 0.6072 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01898/0.4129, allocations: 7.948 MB / 0.6149 GB, free: 5.312 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/0.4148, allocations: 202.6 kB / 0.6151 GB, free: 5.113 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.4149, allocations: 51.98 kB / 0.6152 GB, free: 5.062 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.666e-06/0.415, allocations: 6.5 kB / 0.6152 GB, free: 5.059 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01354/0.4285, allocations: 4.324 MB / 0.6194 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.4285, allocations: 4 kB / 0.6194 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006116/0.4347, allocations: 1.664 MB / 0.621 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.436, allocations: 267.6 kB / 0.6213 GB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01859/0.4546, allocations: 7.937 MB / 0.629 GB, free: 6.695 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/0.4563, allocations: 178.9 kB / 0.6292 GB, free: 6.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.4565, allocations: 55.97 kB / 0.6293 GB, free: 6.465 MB / 442.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order6.delta:VARIABLE(flow=false start = order6.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (161): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 2 * 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): 1 system {(20,14,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006713/0.4572, allocations: 383 kB / 0.6296 GB, free: 6.078 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002467/0.4574, allocations: 130.3 kB / 0.6298 GB, free: 5.949 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01231/0.4697, allocations: 3.806 MB / 0.6335 GB, free: 2.117 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-05/0.4698, allocations: 3.984 kB / 0.6335 GB, free: 2.113 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4698, allocations: 4 kB / 0.6335 GB, free: 2.109 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004165/0.4702, allocations: 227.3 kB / 0.6337 GB, free: 1.867 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002148/0.4704, allocations: 20 kB / 0.6337 GB, free: 1.848 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/0.4717, allocations: 99.88 kB / 0.6338 GB, free: 1.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009391/0.4726, allocations: 412.2 kB / 0.6342 GB, free: 1.348 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006161/0.4788, allocations: 2.228 MB / 0.6364 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004304/0.4831, allocations: 2.345 MB / 0.6387 GB, free: 12.72 MB / 458.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001234/0.4844, allocations: 0.5934 MB / 0.6393 GB, free: 12.12 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001136/0.4855, allocations: 0.771 MB / 0.64 GB, free: 11.35 MB / 458.7 MB Notification: Performance of Backend: time 5.51e-07/0.4855, allocations: 0 / 0.64 GB, free: 11.35 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01073/0.4963, allocations: 4.096 MB / 0.644 GB, free: 7.172 MB / 458.7 MB Notification: Performance of SimCode: time 0.00381/0.5001, allocations: 3.438 MB / 0.6474 GB, free: 3.676 MB / 458.7 MB Notification: Performance of Templates: time 0.04578/0.5459, allocations: 31.49 MB / 0.6781 GB, free: 4.195 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRI.pipe 2>&1)