Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_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.TwoAreaOld.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 119 kB / 16.42 MB, free: 6.48 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.375/1.375, allocations: 222.9 MB / 240.1 MB, free: 4.566 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.001409/0.00141, allocations: 196.4 kB / 290.4 MB, free: 2.285 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5274/0.5274, allocations: 91.9 MB / 432.4 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 76.56 kB / 0.5734 GB, free: 33.78 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1432, allocations: 71.29 MB / 0.643 GB, free: 3.609 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI): time 0.007312/0.1506, allocations: 6.423 MB / 0.6493 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00472/0.1553, allocations: 2.005 MB / 0.6513 GB, free: 11.15 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007909/0.1562, allocations: 8 kB / 0.6513 GB, free: 11.14 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009025/0.1571, allocations: 242 kB / 0.6515 GB, free: 10.9 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002129/0.1593, allocations: 0.8363 MB / 0.6523 GB, free: 10.07 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.1607, allocations: 0.6617 MB / 0.653 GB, free: 9.41 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001593/0.1623, allocations: 1.549 MB / 0.6545 GB, free: 7.855 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004207/0.1628, allocations: 322.3 kB / 0.6548 GB, free: 7.531 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006479/0.1634, allocations: 0.638 MB / 0.6554 GB, free: 6.891 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008166/0.1642, allocations: 0.8246 MB / 0.6562 GB, free: 6.062 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001665/0.1644, allocations: 116 kB / 0.6563 GB, free: 5.949 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004679/0.1649, allocations: 251.9 kB / 0.6566 GB, free: 5.703 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002785/0.1652, allocations: 326.7 kB / 0.6569 GB, free: 5.383 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005054/0.1657, allocations: 0.6602 MB / 0.6575 GB, free: 4.719 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.1673, allocations: 1.649 MB / 0.6591 GB, free: 3.062 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1673, allocations: 4 kB / 0.6591 GB, free: 3.059 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1673, allocations: 0 / 0.6591 GB, free: 3.059 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.1673, allocations: 3.938 kB / 0.6591 GB, free: 3.055 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.008451/0.1758, allocations: 2.699 MB / 0.6618 GB, free: 292 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.1759, allocations: 12.03 kB / 0.6618 GB, free: 280 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005041/0.1809, allocations: 0.7796 MB / 0.6625 GB, free: 15.49 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.1825, allocations: 0.895 MB / 0.6634 GB, free: 14.54 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000257/0.1828, allocations: 234.4 kB / 0.6636 GB, free: 14.29 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.183, allocations: 84 kB / 0.6637 GB, free: 14.2 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002113/0.1851, allocations: 1.091 MB / 0.6648 GB, free: 13.09 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.1851, allocations: 3.953 kB / 0.6648 GB, free: 13.09 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.074e-05/0.1852, allocations: 32 kB / 0.6648 GB, free: 13.06 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.1852, allocations: 24 kB / 0.6648 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002017/0.1873, allocations: 0.9994 MB / 0.6658 GB, free: 12.04 MB / 478.1 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.006848/0.1941, allocations: 3.875 MB / 0.6696 GB, free: 7.965 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007112/0.2013, allocations: 2.332 MB / 0.6719 GB, free: 5.527 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/0.2027, allocations: 0.6898 MB / 0.6726 GB, free: 4.836 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.2028, allocations: 20.98 kB / 0.6726 GB, free: 4.816 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.669e-05/0.2029, allocations: 47.55 kB / 0.6726 GB, free: 4.762 MB / 478.1 MB Notification: Performance of pre-optimization done (n=93): time 4.268e-06/0.2029, allocations: 0 / 0.6726 GB, free: 4.762 MB / 478.1 MB Notification: Performance of matching and sorting (n=93): time 0.02667/0.2295, allocations: 6.783 MB / 0.6792 GB, free: 13.94 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/0.2296, allocations: 137.5 kB / 0.6794 GB, free: 13.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/0.2313, allocations: 1.075 MB / 0.6804 GB, free: 12.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001471/0.2315, allocations: 45.7 kB / 0.6805 GB, free: 12.63 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003332/0.2318, allocations: 0.4897 MB / 0.6809 GB, free: 12.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000338/0.2321, allocations: 364.9 kB / 0.6813 GB, free: 11.78 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004754/0.2326, allocations: 275.5 kB / 0.6816 GB, free: 11.5 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.943e-05/0.2327, allocations: 305.1 kB / 0.6818 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/0.2343, allocations: 0.7621 MB / 0.6826 GB, free: 10.44 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001631/0.2359, allocations: 0.935 MB / 0.6835 GB, free: 9.461 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02308/0.259, allocations: 5.544 MB / 0.6889 GB, free: 3.832 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.259, allocations: 0 / 0.6889 GB, free: 3.832 MB / 494.1 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01292/0.272, allocations: 4.313 MB / 0.6931 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.012e-05/0.2721, allocations: 64.64 kB / 0.6932 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.2721, allocations: 4 kB / 0.6932 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005349/0.2775, allocations: 1.532 MB / 0.6947 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/0.279, allocations: 275.6 kB / 0.695 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01896/0.2979, allocations: 8.242 MB / 0.703 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001912/0.2999, allocations: 195.2 kB / 0.7032 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.3, allocations: 51.92 kB / 0.7032 GB, free: 4.977 MB / 0.4981 GB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001967/0.302, allocations: 0.9461 MB / 0.7042 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001593/0.3036, allocations: 0.9194 MB / 0.7051 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02271/0.3263, allocations: 5.528 MB / 0.7105 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.374e-06/0.3264, allocations: 0 / 0.7105 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of matching and sorting (n=186) (initialization_lambda0): time 0.01311/0.3395, allocations: 4.286 MB / 0.7146 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.934e-05/0.3396, allocations: 67.33 kB / 0.7147 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.3396, allocations: 4 kB / 0.7147 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005317/0.345, allocations: 1.531 MB / 0.7162 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/0.3465, allocations: 275.5 kB / 0.7165 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01888/0.3654, allocations: 8.242 MB / 0.7245 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/0.3673, allocations: 179.3 kB / 0.7247 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001323/0.3674, allocations: 55.97 kB / 0.7247 GB, free: 14.62 MB / 0.5294 GB Warning: Assuming fixed start value for the following 4 variables: order4.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 order4.delta:VARIABLE(flow=false start = order4.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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 (156): * Single equations (assignments): 153 * 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,11,23.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004425/0.3679, allocations: 285.2 kB / 0.725 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002469/0.3681, allocations: 131.2 kB / 0.7251 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01177/0.3799, allocations: 3.755 MB / 0.7288 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.482e-05/0.38, allocations: 3.984 kB / 0.7288 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.38, allocations: 0 / 0.7288 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005173/0.3805, allocations: 235.9 kB / 0.729 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000255/0.3808, allocations: 16 kB / 0.7291 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.3819, allocations: 103.9 kB / 0.7292 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009634/0.3829, allocations: 420.3 kB / 0.7296 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005575/0.3885, allocations: 2.143 MB / 0.7316 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004229/0.3927, allocations: 2.273 MB / 0.7339 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001209/0.3939, allocations: 0.57 MB / 0.7344 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001108/0.395, allocations: 0.7272 MB / 0.7351 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of Backend: time 4.81e-07/0.3951, allocations: 0 / 0.7351 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01016/0.4052, allocations: 3.955 MB / 0.739 GB, free: 15.82 MB / 0.545 GB Notification: Performance of SimCode: time 0.003799/0.4091, allocations: 2.938 MB / 0.7419 GB, free: 12.82 MB / 0.545 GB Notification: Performance of Templates: time 0.3561/0.7652, allocations: 32.93 MB / 0.774 GB, free: 119.7 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FourthOrder_AVRI.pipe 2>&1)