Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.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_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") translateModel(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008362/0.0008363, allocations: 174.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.243/1.243, allocations: 222.8 MB / 239.7 MB, free: 10.17 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.0007602/0.0007603, allocations: 93.73 kB / 290.5 MB, free: 11.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4258/0.4258, allocations: 78.42 MB / 419.6 MB, free: 9.754 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003637, allocations: 16.22 kB / 499.1 MB, free: 10.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.25, allocations: 68.75 MB / 0.5545 GB, free: 20.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII): time 0.008114/0.2582, allocations: 13.59 MB / 0.5678 GB, free: 6.578 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0047/0.2629, allocations: 3.406 MB / 0.5711 GB, free: 3.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009504/0.2639, allocations: 31.94 kB / 0.5711 GB, free: 3.129 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006564/0.2646, allocations: 393.4 kB / 0.5715 GB, free: 2.742 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002232/0.2668, allocations: 1.142 MB / 0.5726 GB, free: 1.598 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002143/0.2689, allocations: 1.362 MB / 0.574 GB, free: 264 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002765/0.2717, allocations: 3.129 MB / 0.577 GB, free: 13.12 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007759/0.2725, allocations: 0.6475 MB / 0.5777 GB, free: 12.43 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001289/0.2738, allocations: 1.213 MB / 0.5788 GB, free: 11.21 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001459/0.2753, allocations: 1.644 MB / 0.5804 GB, free: 9.559 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002691/0.2756, allocations: 132 kB / 0.5806 GB, free: 9.43 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005848/0.2761, allocations: 267.8 kB / 0.5808 GB, free: 9.168 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004039/0.2766, allocations: 0.5517 MB / 0.5814 GB, free: 8.613 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001016/0.2776, allocations: 1.362 MB / 0.5827 GB, free: 7.242 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002617/0.2802, allocations: 3.379 MB / 0.586 GB, free: 3.852 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.2802, allocations: 3.938 kB / 0.586 GB, free: 3.848 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.2802, allocations: 0 / 0.586 GB, free: 3.848 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.462e-05/0.2803, allocations: 0 / 0.586 GB, free: 3.848 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: 486 * Number of variables: 486 Notification: Performance of Generate backend data structure: time 0.01783/0.2981, allocations: 5.515 MB / 0.5914 GB, free: 14.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.2982, allocations: 8.031 kB / 0.5914 GB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01403/0.3122, allocations: 2.244 MB / 0.5936 GB, free: 12.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002541/0.3147, allocations: 1.642 MB / 0.5952 GB, free: 10.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005779/0.3153, allocations: 0.6552 MB / 0.5958 GB, free: 9.543 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003797/0.3157, allocations: 211.9 kB / 0.596 GB, free: 9.336 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005485/0.3212, allocations: 2.886 MB / 0.5988 GB, free: 6.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/0.3213, allocations: 4 kB / 0.5989 GB, free: 6.426 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002231/0.3215, allocations: 83.88 kB / 0.5989 GB, free: 6.344 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.165e-05/0.3215, allocations: 44 kB / 0.599 GB, free: 6.301 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005337/0.3269, allocations: 2.666 MB / 0.6016 GB, free: 3.633 MB / 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.01601/0.3429, allocations: 9.548 MB / 0.6109 GB, free: 9.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/0.3532, allocations: 4.028 MB / 0.6148 GB, free: 5.52 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003704/0.3569, allocations: 1.882 MB / 0.6167 GB, free: 3.633 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002771/0.3572, allocations: 45.94 kB / 0.6167 GB, free: 3.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.3573, allocations: 56.56 kB / 0.6168 GB, free: 3.523 MB / 426.7 MB Notification: Performance of pre-optimization done (n=227): time 4.017e-06/0.3573, allocations: 0 / 0.6168 GB, free: 3.523 MB / 426.7 MB Notification: Performance of matching and sorting (n=227): time 0.1116/0.4689, allocations: 27.31 MB / 0.6434 GB, free: 8.137 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.299e-05/0.469, allocations: 124.8 kB / 0.6436 GB, free: 7.992 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00282/0.4718, allocations: 1.996 MB / 0.6455 GB, free: 5.977 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005794/0.4724, allocations: 65.7 kB / 0.6456 GB, free: 5.906 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008122/0.4732, allocations: 1.081 MB / 0.6466 GB, free: 4.812 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000934/0.4742, allocations: 0.801 MB / 0.6474 GB, free: 4 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003673/0.4745, allocations: 255.7 kB / 0.6477 GB, free: 3.742 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.524e-05/0.4747, allocations: 301.1 kB / 0.6479 GB, free: 3.445 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003886/0.4785, allocations: 1.86 MB / 0.6498 GB, free: 1.582 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004236/0.4828, allocations: 2.225 MB / 0.6519 GB, free: 15.26 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0538/0.5366, allocations: 13.67 MB / 0.6653 GB, free: 1.434 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/0.5367, allocations: 0 / 0.6653 GB, free: 1.434 MB / 474.7 MB Notification: Performance of matching and sorting (n=373) (initialization): time 0.03862/0.5753, allocations: 12.13 MB / 0.6771 GB, free: 5.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002256/0.5756, allocations: 303.2 kB / 0.6774 GB, free: 4.855 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.5756, allocations: 8 kB / 0.6774 GB, free: 4.848 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2435/0.8191, allocations: 5.344 MB / 0.6827 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002284/0.8215, allocations: 480.8 kB / 0.6831 GB, free: 105.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05103/0.8725, allocations: 21.62 MB / 0.7042 GB, free: 98.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003303/0.8758, allocations: 440.6 kB / 0.7046 GB, free: 98.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002425/0.8761, allocations: 106.5 kB / 0.7047 GB, free: 98.82 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.8761, allocations: 3.969 kB / 0.7048 GB, free: 98.82 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03473/0.9109, allocations: 11.82 MB / 0.7163 GB, free: 94.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.841e-05/0.9109, allocations: 8 kB / 0.7163 GB, free: 94.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01557/0.9265, allocations: 5.351 MB / 0.7215 GB, free: 90.67 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002047/0.9286, allocations: 472.9 kB / 0.722 GB, free: 90.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04581/0.9744, allocations: 21.62 MB / 0.7431 GB, free: 68.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003121/0.9775, allocations: 399.4 kB / 0.7435 GB, free: 68.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002763/0.9778, allocations: 104 kB / 0.7436 GB, free: 68.11 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (285): * Single equations (assignments): 284 * 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 {(63,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0009825/0.9788, allocations: 0.5028 MB / 0.7441 GB, free: 67.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004127/0.9792, allocations: 272.6 kB / 0.7443 GB, free: 67.33 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03321/1.012, allocations: 11.44 MB / 0.7555 GB, free: 55.86 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-05/1.013, allocations: 15.95 kB / 0.7555 GB, free: 55.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/1.013, allocations: 3.938 kB / 0.7555 GB, free: 55.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006434/1.013, allocations: 365.2 kB / 0.7559 GB, free: 55.46 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004639/1.014, allocations: 40 kB / 0.7559 GB, free: 55.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002225/1.016, allocations: 259.7 kB / 0.7561 GB, free: 55.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003783/1.02, allocations: 1.324 MB / 0.7574 GB, free: 53.84 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01289/1.033, allocations: 5.173 MB / 0.7625 GB, free: 48.71 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.009599/1.042, allocations: 5.378 MB / 0.7677 GB, free: 43.31 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002869/1.045, allocations: 1.499 MB / 0.7692 GB, free: 41.81 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0014/1.047, allocations: 1.294 MB / 0.7705 GB, free: 40.5 MB / 490.7 MB Notification: Performance of Backend: time 5.01e-07/1.047, allocations: 0 / 0.7705 GB, free: 40.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02359/1.07, allocations: 9.095 MB / 0.7793 GB, free: 31.4 MB / 490.7 MB Notification: Performance of SimCode: time 0.005897/1.076, allocations: 6.583 MB / 0.7858 GB, free: 24.77 MB / 490.7 MB Notification: Performance of Templates: time 0.0991/1.175, allocations: 77.12 MB / 0.8611 GB, free: 11.66 MB / 0.5417 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.ThreeArea.ThirdOrder_AVRIII.pipe 2>&1)