Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.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.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008225/0.0008227, allocations: 174.7 kB / 16.08 MB, free: 5.727 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.22/1.22, allocations: 222.9 MB / 239.7 MB, free: 10.21 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.000703/0.0007032, allocations: 93.17 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.4237/0.4237, allocations: 78.42 MB / 419.6 MB, free: 9.742 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003321, allocations: 12.22 kB / 499.1 MB, free: 10.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2372, allocations: 68.75 MB / 0.5545 GB, free: 20.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII): time 0.0086/0.2458, allocations: 14.37 MB / 0.5686 GB, free: 5.781 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.005521/0.2513, allocations: 3.593 MB / 0.5721 GB, free: 2.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001456/0.2528, allocations: 32 kB / 0.5721 GB, free: 2.148 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009583/0.2538, allocations: 449 kB / 0.5725 GB, free: 1.707 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002764/0.2566, allocations: 1.218 MB / 0.5737 GB, free: 500 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002726/0.2593, allocations: 1.411 MB / 0.5751 GB, free: 15.1 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00365/0.263, allocations: 3.518 MB / 0.5785 GB, free: 11.57 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.264, allocations: 0.7962 MB / 0.5793 GB, free: 10.72 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001647/0.2657, allocations: 1.325 MB / 0.5806 GB, free: 9.387 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00175/0.2674, allocations: 1.784 MB / 0.5823 GB, free: 7.594 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003255/0.2678, allocations: 140 kB / 0.5825 GB, free: 7.457 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006577/0.2684, allocations: 271.9 kB / 0.5827 GB, free: 7.191 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004973/0.269, allocations: 0.6061 MB / 0.5833 GB, free: 6.582 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001214/0.2702, allocations: 1.459 MB / 0.5847 GB, free: 5.113 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003219/0.2734, allocations: 3.715 MB / 0.5884 GB, free: 1.383 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2734, allocations: 0 / 0.5884 GB, free: 1.383 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.796e-06/0.2734, allocations: 0 / 0.5884 GB, free: 1.383 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.722e-05/0.2735, allocations: 4 kB / 0.5884 GB, free: 1.379 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 522 * Number of variables: 522 Notification: Performance of Generate backend data structure: time 0.01971/0.2932, allocations: 5.937 MB / 0.5942 GB, free: 11.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.2933, allocations: 11.97 kB / 0.5942 GB, free: 11.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01436/0.3077, allocations: 2.271 MB / 0.5964 GB, free: 9.059 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004754/0.3124, allocations: 1.871 MB / 0.5982 GB, free: 7.121 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007822/0.3133, allocations: 0.7291 MB / 0.5989 GB, free: 6.277 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007003/0.314, allocations: 219.9 kB / 0.5992 GB, free: 6.062 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006419/0.3204, allocations: 3.027 MB / 0.6021 GB, free: 2.957 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.458e-05/0.3205, allocations: 3.938 kB / 0.6021 GB, free: 2.953 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002771/0.3207, allocations: 87.92 kB / 0.6022 GB, free: 2.867 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.554e-05/0.3208, allocations: 52 kB / 0.6022 GB, free: 2.816 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005797/0.3266, allocations: 2.784 MB / 0.605 GB, free: 16 kB / 410.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.02038/0.347, allocations: 9.864 MB / 0.6146 GB, free: 5.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01157/0.3586, allocations: 4.184 MB / 0.6187 GB, free: 1.418 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00518/0.3638, allocations: 1.968 MB / 0.6206 GB, free: 15.44 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003897/0.3643, allocations: 41.88 kB / 0.6206 GB, free: 15.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005534/0.3698, allocations: 2.231 MB / 0.6228 GB, free: 13.15 MB / 442.7 MB Notification: Performance of pre-optimization done (n=247): time 7.074e-06/0.3698, allocations: 0 / 0.6228 GB, free: 13.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=247): time 0.1185/0.4883, allocations: 29.46 MB / 0.6516 GB, free: 15.56 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.846e-05/0.4884, allocations: 180.2 kB / 0.6518 GB, free: 15.34 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003296/0.4917, allocations: 2.285 MB / 0.654 GB, free: 13.04 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005602/0.4923, allocations: 73.7 kB / 0.6541 GB, free: 12.96 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009604/0.4933, allocations: 1.168 MB / 0.6552 GB, free: 11.78 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00108/0.4944, allocations: 0.8703 MB / 0.6561 GB, free: 10.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004436/0.4948, allocations: 284.5 kB / 0.6563 GB, free: 10.61 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.413e-05/0.4949, allocations: 301.1 kB / 0.6566 GB, free: 10.32 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004211/0.4991, allocations: 1.951 MB / 0.6585 GB, free: 8.363 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004535/0.5037, allocations: 2.322 MB / 0.6608 GB, free: 5.949 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.05345/0.5572, allocations: 14.01 MB / 0.6745 GB, free: 7.703 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/0.5572, allocations: 0 / 0.6745 GB, free: 7.703 MB / 490.7 MB Notification: Performance of matching and sorting (n=413) (initialization): time 0.2577/0.8149, allocations: 12.27 MB / 0.6865 GB, free: 107.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.461e-05/0.815, allocations: 116.2 kB / 0.6866 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.519e-05/0.8151, allocations: 5.969 kB / 0.6866 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01846/0.8335, allocations: 5.317 MB / 0.6918 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002903/0.8365, allocations: 0.5675 MB / 0.6923 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0496/0.8861, allocations: 21.59 MB / 0.7134 GB, free: 98.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003735/0.8899, allocations: 493.2 kB / 0.7139 GB, free: 97.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003534/0.8902, allocations: 120 kB / 0.714 GB, free: 97.86 MB / 490.7 MB Warning: Assuming fixed start value for the following 6 variables: order3_2.delta:VARIABLE(flow=false start = order3_2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3_2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_2.e1q:VARIABLE(start = order3_2.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order2.delta:VARIABLE(flow=false start = order2.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order2.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 320 * Array equations: 0 * Algorithm blocks: 4 * 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 {(63,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001026/0.8913, allocations: 0.5255 MB / 0.7145 GB, free: 97.32 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004732/0.8918, allocations: 299 kB / 0.7148 GB, free: 97.08 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03436/0.9261, allocations: 11.9 MB / 0.7264 GB, free: 85.14 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.526e-05/0.9262, allocations: 15.95 kB / 0.7264 GB, free: 85.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.9262, allocations: 0 / 0.7264 GB, free: 85.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007905/0.927, allocations: 409.7 kB / 0.7268 GB, free: 84.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006157/0.9277, allocations: 48 kB / 0.7269 GB, free: 84.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00255/0.9302, allocations: 299.6 kB / 0.7272 GB, free: 84.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004064/0.9343, allocations: 1.366 MB / 0.7285 GB, free: 83.02 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01358/0.9479, allocations: 5.891 MB / 0.7342 GB, free: 77.14 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009612/0.9575, allocations: 5.895 MB / 0.74 GB, free: 71.16 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002894/0.9605, allocations: 1.608 MB / 0.7416 GB, free: 69.55 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001831/0.9623, allocations: 1.503 MB / 0.743 GB, free: 68.04 MB / 490.7 MB Notification: Performance of Backend: time 1.373e-06/0.9623, allocations: 0 / 0.743 GB, free: 68.04 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01294/0.9753, allocations: 5.056 MB / 0.748 GB, free: 62.95 MB / 490.7 MB Notification: Performance of SimCode: time 0.007114/0.9824, allocations: 7.282 MB / 0.7551 GB, free: 55.61 MB / 490.7 MB Notification: Performance of Templates: time 0.06547/1.048, allocations: 53.53 MB / 0.8074 GB, free: 2.121 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRII.pipe 2>&1)