Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001629, allocations: 113.5 kB / 16.42 MB, free: 6.453 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.406/1.406, allocations: 222.9 MB / 240.1 MB, free: 4.543 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.001786/0.001786, allocations: 188.5 kB / 290.4 MB, free: 2.242 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4757/0.4757, allocations: 78.53 MB / 419.1 MB, free: 3.145 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 76.33 kB / 0.5543 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3504, allocations: 68.17 MB / 0.6209 GB, free: 9.727 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.005583/0.3561, allocations: 6.64 MB / 0.6274 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003994/0.3601, allocations: 1.99 MB / 0.6293 GB, free: 1.543 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008225/0.3609, allocations: 12 kB / 0.6293 GB, free: 1.531 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007003/0.3617, allocations: 249.9 kB / 0.6296 GB, free: 1.285 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001848/0.3636, allocations: 0.8518 MB / 0.6304 GB, free: 444 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.3648, allocations: 0.6399 MB / 0.631 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00182/0.3667, allocations: 1.64 MB / 0.6326 GB, free: 14.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004724/0.3671, allocations: 330.5 kB / 0.6329 GB, free: 13.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008798/0.368, allocations: 0.6769 MB / 0.6336 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008646/0.3689, allocations: 0.8596 MB / 0.6344 GB, free: 12.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001778/0.3691, allocations: 128 kB / 0.6346 GB, free: 12.15 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005266/0.3696, allocations: 271.8 kB / 0.6348 GB, free: 11.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002777/0.3699, allocations: 342.6 kB / 0.6351 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005517/0.3705, allocations: 0.6874 MB / 0.6358 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001604/0.3721, allocations: 1.71 MB / 0.6375 GB, free: 9.148 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.3721, allocations: 8 kB / 0.6375 GB, free: 9.141 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3721, allocations: 0 / 0.6375 GB, free: 9.141 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.3721, allocations: 0 / 0.6375 GB, free: 9.141 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.009115/0.3813, allocations: 2.746 MB / 0.6402 GB, free: 6.324 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.3813, allocations: 8.031 kB / 0.6402 GB, free: 6.316 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005253/0.3866, allocations: 0.7827 MB / 0.6409 GB, free: 5.531 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/0.3883, allocations: 0.9061 MB / 0.6418 GB, free: 4.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002909/0.3886, allocations: 264.1 kB / 0.6421 GB, free: 4.273 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/0.3888, allocations: 87.91 kB / 0.6422 GB, free: 4.188 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002243/0.391, allocations: 1.098 MB / 0.6432 GB, free: 3.078 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.3911, allocations: 3.938 kB / 0.6432 GB, free: 3.074 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.3912, allocations: 32 kB / 0.6433 GB, free: 3.043 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.736e-05/0.3912, allocations: 16 kB / 0.6433 GB, free: 3.027 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002061/0.3933, allocations: 1.003 MB / 0.6443 GB, free: 2.023 MB / 446.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.006826/0.4001, allocations: 3.852 MB / 0.648 GB, free: 14 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007612/0.4077, allocations: 2.391 MB / 0.6504 GB, free: 11.51 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/0.4093, allocations: 0.6879 MB / 0.651 GB, free: 10.82 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.338e-05/0.4094, allocations: 12.98 kB / 0.651 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001659/0.4111, allocations: 0.8424 MB / 0.6519 GB, free: 9.941 MB / 462.1 MB Notification: Performance of pre-optimization done (n=97): time 3.546e-06/0.4111, allocations: 0 / 0.6519 GB, free: 9.941 MB / 462.1 MB Notification: Performance of matching and sorting (n=97): time 0.03051/0.4416, allocations: 7.214 MB / 0.6589 GB, free: 2.664 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/0.4417, allocations: 119.8 kB / 0.659 GB, free: 2.523 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001894/0.4436, allocations: 1.123 MB / 0.6601 GB, free: 1.387 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002117/0.4438, allocations: 41.7 kB / 0.6602 GB, free: 1.34 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004178/0.4442, allocations: 0.493 MB / 0.6606 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004861/0.4447, allocations: 366.9 kB / 0.661 GB, free: 488 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006503/0.4454, allocations: 291.4 kB / 0.6613 GB, free: 192 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.4455, allocations: 309 kB / 0.6616 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001739/0.4473, allocations: 0.7808 MB / 0.6623 GB, free: 15.1 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001831/0.4491, allocations: 0.9538 MB / 0.6633 GB, free: 14.11 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02606/0.4752, allocations: 5.798 MB / 0.6689 GB, free: 8.223 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/0.4753, allocations: 4 kB / 0.6689 GB, free: 8.219 MB / 478.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01592/0.4912, allocations: 4.45 MB / 0.6733 GB, free: 3.738 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.301e-05/0.4913, allocations: 67.34 kB / 0.6733 GB, free: 3.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.4913, allocations: 4 kB / 0.6733 GB, free: 3.656 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006296/0.4976, allocations: 1.635 MB / 0.6749 GB, free: 2.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/0.4992, allocations: 283.6 kB / 0.6752 GB, free: 1.742 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02218/0.5214, allocations: 8.596 MB / 0.6836 GB, free: 8.996 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002026/0.5235, allocations: 210.6 kB / 0.6838 GB, free: 8.789 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002561/0.5238, allocations: 55.97 kB / 0.6839 GB, free: 8.734 MB / 494.1 MB 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 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 order5.delta:VARIABLE(flow=false start = order5.delta0 unit = "rad" fixed = true ) "Rotor angle" type: Real order5.e1q:VARIABLE(start = order5.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: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 164 * 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.0007692/0.5245, allocations: 312.3 kB / 0.6842 GB, free: 8.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000351/0.5249, allocations: 122.5 kB / 0.6843 GB, free: 8.289 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01352/0.5384, allocations: 3.9 MB / 0.6881 GB, free: 4.352 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.801e-05/0.5385, allocations: 7.922 kB / 0.6881 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.5385, allocations: 0 / 0.6881 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000513/0.539, allocations: 227.3 kB / 0.6883 GB, free: 4.102 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004429/0.5395, allocations: 24 kB / 0.6883 GB, free: 4.078 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/0.541, allocations: 107.8 kB / 0.6884 GB, free: 3.973 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0011/0.5421, allocations: 440.3 kB / 0.6889 GB, free: 3.543 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007207/0.5493, allocations: 2.288 MB / 0.6911 GB, free: 1.223 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004775/0.5541, allocations: 2.297 MB / 0.6933 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001337/0.5555, allocations: 0.5817 MB / 0.6939 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001303/0.5568, allocations: 0.7591 MB / 0.6946 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of Backend: time 1.001e-06/0.5568, allocations: 0 / 0.6946 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006889/0.5637, allocations: 2.16 MB / 0.6967 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of SimCode: time 0.004156/0.5679, allocations: 2.998 MB / 0.6997 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of Templates: time 0.03855/0.6065, allocations: 23.42 MB / 0.7226 GB, free: 0.875 MB / 0.5137 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)