Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 114.5 kB / 16.42 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 240.1 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 188.5 kB / 290.4 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4975/0.4975, allocations: 91.9 MB / 432.4 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 78.56 kB / 0.5735 GB, free: 33.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1049, allocations: 71.29 MB / 0.6431 GB, free: 3.477 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI): time 0.01772/0.1227, allocations: 21.79 MB / 0.6644 GB, free: 13.6 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01011/0.1329, allocations: 4.915 MB / 0.6692 GB, free: 8.66 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00326/0.1361, allocations: 43.94 kB / 0.6693 GB, free: 8.617 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002357/0.1385, allocations: 0.8828 MB / 0.6701 GB, free: 7.727 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006489/0.1451, allocations: 2.285 MB / 0.6724 GB, free: 5.43 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005253/0.1503, allocations: 2.086 MB / 0.6744 GB, free: 3.375 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007364/0.1577, allocations: 5.732 MB / 0.68 GB, free: 13.62 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002209/0.1599, allocations: 1.321 MB / 0.6813 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003176/0.1631, allocations: 2.329 MB / 0.6836 GB, free: 9.906 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003754/0.1669, allocations: 2.951 MB / 0.6864 GB, free: 6.941 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001354/0.1683, allocations: 440 kB / 0.6869 GB, free: 6.512 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001845/0.1701, allocations: 0.5858 MB / 0.6874 GB, free: 5.926 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001394/0.1715, allocations: 1.167 MB / 0.6886 GB, free: 4.754 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003574/0.1751, allocations: 2.617 MB / 0.6911 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007178/0.1823, allocations: 6.239 MB / 0.6972 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.1823, allocations: 7.938 kB / 0.6972 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1824, allocations: 3.938 kB / 0.6972 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001859/0.1825, allocations: 4 kB / 0.6972 GB, free: 11.84 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 891 * Number of variables: 891 Notification: Performance of Generate backend data structure: time 0.03204/0.2146, allocations: 9.186 MB / 0.7062 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.2146, allocations: 11.97 kB / 0.7062 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02796/0.2426, allocations: 4.012 MB / 0.7101 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005173/0.2478, allocations: 2.678 MB / 0.7127 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008213/0.2487, allocations: 0.9244 MB / 0.7136 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007688/0.2494, allocations: 351.9 kB / 0.714 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009648/0.2591, allocations: 4.747 MB / 0.7186 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.875e-05/0.2592, allocations: 3.938 kB / 0.7186 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004147/0.2596, allocations: 140 kB / 0.7188 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.668e-05/0.2597, allocations: 84 kB / 0.7188 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008795/0.2685, allocations: 4.267 MB / 0.723 GB, free: 1.094 MB / 0.5137 GB 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.03165/0.3001, allocations: 18.3 MB / 0.7409 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0126/0.3128, allocations: 4.979 MB / 0.7457 GB, free: 8.535 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005747/0.3185, allocations: 2.8 MB / 0.7485 GB, free: 5.727 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003973/0.3189, allocations: 74.89 kB / 0.7485 GB, free: 5.652 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.115e-05/0.319, allocations: 69.55 kB / 0.7486 GB, free: 5.574 MB / 0.545 GB Notification: Performance of pre-optimization done (n=381): time 5.831e-06/0.319, allocations: 3.938 kB / 0.7486 GB, free: 5.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=381): time 0.5452/0.8642, allocations: 66.28 MB / 0.8133 GB, free: 87.87 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.8643, allocations: 175.5 kB / 0.8135 GB, free: 87.66 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003623/0.8679, allocations: 3.242 MB / 0.8167 GB, free: 85.29 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008045/0.8687, allocations: 92.7 kB / 0.8168 GB, free: 85.24 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009348/0.8697, allocations: 1.971 MB / 0.8187 GB, free: 84.02 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001158/0.8708, allocations: 1.317 MB / 0.82 GB, free: 82.71 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00118/0.872, allocations: 0.6624 MB / 0.8206 GB, free: 82.04 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.248e-05/0.872, allocations: 309.1 kB / 0.8209 GB, free: 81.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005133/0.8772, allocations: 2.614 MB / 0.8235 GB, free: 79.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005616/0.8828, allocations: 3.221 MB / 0.8266 GB, free: 75.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06845/0.9513, allocations: 18.97 MB / 0.8451 GB, free: 56.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.809e-05/0.9513, allocations: 4 kB / 0.8451 GB, free: 56.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=532) (initialization): time 0.05543/1.007, allocations: 17.26 MB / 0.862 GB, free: 39.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.229e-05/1.007, allocations: 63.41 kB / 0.8621 GB, free: 39.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.023e-05/1.007, allocations: 16 kB / 0.8621 GB, free: 39.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02517/1.032, allocations: 7.15 MB / 0.8691 GB, free: 31.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003441/1.036, allocations: 0.6747 MB / 0.8697 GB, free: 31.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08213/1.118, allocations: 33.28 MB / 0.9022 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005885/1.124, allocations: 0.6095 MB / 0.9028 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006254/1.124, allocations: 153.8 kB / 0.903 GB, free: 12.96 MB / 0.5762 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007384/1.132, allocations: 3.073 MB / 0.906 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006481/1.138, allocations: 3.213 MB / 0.9091 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.07476/1.213, allocations: 18.95 MB / 0.9276 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.886e-05/1.213, allocations: 4 kB / 0.9276 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of matching and sorting (n=532) (initialization_lambda0): time 0.06054/1.274, allocations: 17.23 MB / 0.9444 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.456e-05/1.274, allocations: 71.97 kB / 0.9445 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.819e-05/1.274, allocations: 16 kB / 0.9445 GB, free: 1.848 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02712/1.301, allocations: 7.153 MB / 0.9515 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003612/1.304, allocations: 0.6631 MB / 0.9522 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09188/1.396, allocations: 33.28 MB / 0.9847 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005892/1.402, allocations: 0.5748 MB / 0.9852 GB, free: 7.992 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006997/1.403, allocations: 155.9 kB / 0.9854 GB, free: 7.84 MB / 0.6544 GB Warning: Assuming fixed start value for the following 5 variables: order5.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (397): * Single equations (assignments): 394 * 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 {(92,44,5.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001036/1.404, allocations: 423.9 kB / 0.9858 GB, free: 7.414 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001106/1.405, allocations: 458.3 kB / 0.9862 GB, free: 6.961 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05879/1.464, allocations: 16.74 MB / 1.003 GB, free: 6.152 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-05/1.464, allocations: 21.45 kB / 1.003 GB, free: 6.133 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/1.464, allocations: 4 kB / 1.003 GB, free: 6.129 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/1.465, allocations: 0.5662 MB / 1.003 GB, free: 5.539 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001308/1.467, allocations: 64 kB / 1.003 GB, free: 5.477 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004695/1.471, allocations: 371.6 kB / 1.004 GB, free: 5.113 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006437/1.478, allocations: 1.891 MB / 1.005 GB, free: 3.219 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02601/1.504, allocations: 8.182 MB / 1.013 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01862/1.523, allocations: 8.234 MB / 1.021 GB, free: 2.758 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0055/1.528, allocations: 2.288 MB / 1.024 GB, free: 472 kB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003072/1.531, allocations: 2.133 MB / 1.026 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of Backend: time 4.71e-07/1.531, allocations: 0 / 1.026 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.2796/1.811, allocations: 13.38 MB / 1.039 GB, free: 238.1 MB / 0.7012 GB Notification: Performance of SimCode: time 0.01233/1.823, allocations: 9.045 MB / 1.048 GB, free: 234.3 MB / 0.7012 GB Notification: Performance of Templates: time 0.1439/1.967, allocations: 124.3 MB / 1.169 GB, free: 136.3 MB / 0.7012 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.FifthOrder_AVRI.pipe 2>&1)