Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.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.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008896/0.0008896, allocations: 174.9 kB / 16.08 MB, free: 5.57 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.297/1.297, allocations: 222.9 MB / 239.7 MB, free: 15.89 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.000831/0.0008312, allocations: 95.39 kB / 290.4 MB, free: 4.559 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.3101/0.3101, allocations: 78.44 MB / 419.6 MB, free: 20 kB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003425, allocations: 12 kB / 499.1 MB, free: 8.246 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1143, allocations: 68.75 MB / 0.5545 GB, free: 3.434 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII): time 0.006785/0.1211, allocations: 6.807 MB / 0.5612 GB, free: 12.59 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003746/0.1249, allocations: 2.017 MB / 0.5631 GB, free: 10.57 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006541/0.1256, allocations: 12 kB / 0.5632 GB, free: 10.55 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005982/0.1262, allocations: 178.9 kB / 0.5633 GB, free: 10.38 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001688/0.1279, allocations: 0.7106 MB / 0.564 GB, free: 9.668 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.1291, allocations: 0.5875 MB / 0.5646 GB, free: 9.086 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001301/0.1304, allocations: 1.487 MB / 0.566 GB, free: 7.594 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003742/0.1307, allocations: 273.3 kB / 0.5663 GB, free: 7.316 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006208/0.1314, allocations: 0.5714 MB / 0.5669 GB, free: 6.742 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007221/0.1321, allocations: 0.7542 MB / 0.5676 GB, free: 5.984 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.1323, allocations: 60 kB / 0.5677 GB, free: 5.926 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004104/0.1327, allocations: 187.9 kB / 0.5678 GB, free: 5.742 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002241/0.1329, allocations: 266.6 kB / 0.5681 GB, free: 5.48 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004748/0.1334, allocations: 0.5976 MB / 0.5687 GB, free: 4.879 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.1346, allocations: 1.549 MB / 0.5702 GB, free: 3.324 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1347, allocations: 0 / 0.5702 GB, free: 3.324 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1347, allocations: 0 / 0.5702 GB, free: 3.324 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.1347, allocations: 0 / 0.5702 GB, free: 3.324 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.007838/0.1425, allocations: 2.431 MB / 0.5726 GB, free: 0.8242 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.1426, allocations: 8.031 kB / 0.5726 GB, free: 0.8164 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005034/0.1476, allocations: 0.7749 MB / 0.5733 GB, free: 40 kB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2103/0.3579, allocations: 0.8813 MB / 0.5742 GB, free: 45.57 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002591/0.3582, allocations: 258.9 kB / 0.5744 GB, free: 45.38 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/0.3584, allocations: 83.34 kB / 0.5745 GB, free: 45.38 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001889/0.3603, allocations: 1.083 MB / 0.5756 GB, free: 45.3 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.3603, allocations: 0 / 0.5756 GB, free: 45.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.639e-05/0.3604, allocations: 37.12 kB / 0.5756 GB, free: 45.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.3604, allocations: 16.09 kB / 0.5756 GB, free: 45.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/0.3622, allocations: 0.9832 MB / 0.5766 GB, free: 45.29 MB / 442.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.005593/0.3678, allocations: 3.817 MB / 0.5803 GB, free: 44.16 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007007/0.3749, allocations: 2.367 MB / 0.5826 GB, free: 43.73 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001351/0.3762, allocations: 0.6715 MB / 0.5833 GB, free: 43.71 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.3764, allocations: 21.48 kB / 0.5833 GB, free: 43.71 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001489/0.3779, allocations: 0.8169 MB / 0.5841 GB, free: 43.62 MB / 442.7 MB Notification: Performance of pre-optimization done (n=95): time 2.796e-06/0.3779, allocations: 2.656 kB / 0.5841 GB, free: 43.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=95): time 0.02782/0.4057, allocations: 7.194 MB / 0.5911 GB, free: 43.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.4058, allocations: 114.5 kB / 0.5912 GB, free: 42.97 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/0.4074, allocations: 1.102 MB / 0.5923 GB, free: 42.75 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001277/0.4076, allocations: 45.83 kB / 0.5923 GB, free: 42.71 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002956/0.4079, allocations: 493.6 kB / 0.5928 GB, free: 42.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000293/0.4082, allocations: 352.7 kB / 0.5932 GB, free: 42.06 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.4084, allocations: 139.5 kB / 0.5933 GB, free: 41.99 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 3.561e-05/0.4084, allocations: 306.9 kB / 0.5936 GB, free: 41.69 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/0.4099, allocations: 0.7573 MB / 0.5943 GB, free: 41.41 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001483/0.4114, allocations: 0.9302 MB / 0.5952 GB, free: 40.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02088/0.4323, allocations: 5.549 MB / 0.6006 GB, free: 39.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.4323, allocations: 0 / 0.6006 GB, free: 39.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.01202/0.4443, allocations: 4.357 MB / 0.6049 GB, free: 38.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.4444, allocations: 64.75 kB / 0.605 GB, free: 38.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.4444, allocations: 3 kB / 0.605 GB, free: 38.02 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005141/0.4495, allocations: 1.589 MB / 0.6065 GB, free: 37.74 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001232/0.4508, allocations: 279.2 kB / 0.6068 GB, free: 37.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01729/0.4681, allocations: 7.84 MB / 0.6144 GB, free: 34.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/0.4699, allocations: 201.4 kB / 0.6146 GB, free: 33.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002032/0.4701, allocations: 55.09 kB / 0.6147 GB, free: 33.96 MB / 442.7 MB Warning: Assuming fixed start value for the following 4 variables: order3.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 order3.delta:VARIABLE(flow=false start = order3.delta0 unit = "rad" fixed = true ) "Rotor angle" 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 (160): * Single equations (assignments): 157 * 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 {(19,14,24.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006336/0.4708, allocations: 295.7 kB / 0.615 GB, free: 33.71 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002703/0.4711, allocations: 131.4 kB / 0.6151 GB, free: 33.64 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01309/0.4841, allocations: 3.863 MB / 0.6189 GB, free: 32.72 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.442e-05/0.4842, allocations: 9.344 kB / 0.6189 GB, free: 32.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.4842, allocations: 1.25 kB / 0.6189 GB, free: 32.71 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003809/0.4846, allocations: 222.6 kB / 0.6191 GB, free: 32.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002363/0.4848, allocations: 21.81 kB / 0.6191 GB, free: 32.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.486, allocations: 108.9 kB / 0.6192 GB, free: 32.49 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001175/0.4872, allocations: 423.5 kB / 0.6196 GB, free: 32.44 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00585/0.493, allocations: 2.215 MB / 0.6218 GB, free: 31.58 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00402/0.4971, allocations: 2.265 MB / 0.624 GB, free: 30.53 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001166/0.4983, allocations: 0.5637 MB / 0.6245 GB, free: 30.33 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001085/0.4994, allocations: 0.734 MB / 0.6253 GB, free: 30.03 MB / 442.7 MB Notification: Performance of Backend: time 6.01e-07/0.4994, allocations: 1.156 kB / 0.6253 GB, free: 30.03 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005636/0.505, allocations: 2.089 MB / 0.6273 GB, free: 28.89 MB / 442.7 MB Notification: Performance of SimCode: time 0.003627/0.5087, allocations: 3.28 MB / 0.6305 GB, free: 26.51 MB / 442.7 MB Notification: Performance of Templates: time 0.02719/0.5359, allocations: 20.25 MB / 0.6503 GB, free: 8.996 MB / 442.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRII.pipe 2>&1)