Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.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.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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.001338/0.001338, allocations: 112.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.33/1.33, allocations: 222.9 MB / 240.1 MB, free: 4.547 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.001279/0.001279, allocations: 188.5 kB / 290.4 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5052/0.5052, allocations: 91.9 MB / 432.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 81.88 kB / 0.5734 GB, free: 33.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1025, allocations: 71.28 MB / 0.643 GB, free: 3.566 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII): time 0.006639/0.1092, allocations: 6.663 MB / 0.6495 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003656/0.1129, allocations: 1.997 MB / 0.6515 GB, free: 10.87 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005564/0.1135, allocations: 8 kB / 0.6515 GB, free: 10.86 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006365/0.1142, allocations: 245.9 kB / 0.6517 GB, free: 10.62 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001825/0.116, allocations: 0.8651 MB / 0.6526 GB, free: 9.758 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.1172, allocations: 0.6339 MB / 0.6532 GB, free: 9.129 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001474/0.1187, allocations: 1.643 MB / 0.6548 GB, free: 7.48 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004197/0.1191, allocations: 330.4 kB / 0.6551 GB, free: 7.148 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007245/0.1199, allocations: 0.6769 MB / 0.6558 GB, free: 6.469 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000845/0.1207, allocations: 0.8635 MB / 0.6566 GB, free: 5.602 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001759/0.1209, allocations: 131.9 kB / 0.6567 GB, free: 5.473 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004647/0.1214, allocations: 263.9 kB / 0.657 GB, free: 5.215 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002828/0.1217, allocations: 342.6 kB / 0.6573 GB, free: 4.879 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005198/0.1222, allocations: 0.6913 MB / 0.658 GB, free: 4.184 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00172/0.1239, allocations: 1.701 MB / 0.6596 GB, free: 2.477 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.124, allocations: 4 kB / 0.6597 GB, free: 2.473 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.124, allocations: 0 / 0.6597 GB, free: 2.473 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.429e-05/0.124, allocations: 0 / 0.6597 GB, free: 2.473 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: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.008884/0.1329, allocations: 2.75 MB / 0.6623 GB, free: 15.65 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1329, allocations: 8.031 kB / 0.6623 GB, free: 15.64 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005195/0.1381, allocations: 0.7748 MB / 0.6631 GB, free: 14.86 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001517/0.1397, allocations: 0.9139 MB / 0.664 GB, free: 13.89 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002708/0.1399, allocations: 264.1 kB / 0.6642 GB, free: 13.6 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.1401, allocations: 87.91 kB / 0.6643 GB, free: 13.52 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.1423, allocations: 1.098 MB / 0.6654 GB, free: 12.4 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.1423, allocations: 3.938 kB / 0.6654 GB, free: 12.4 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.1424, allocations: 32 kB / 0.6654 GB, free: 12.37 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.471e-05/0.1425, allocations: 16 kB / 0.6655 GB, free: 12.35 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002013/0.1445, allocations: 0.9955 MB / 0.6664 GB, free: 11.36 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.006417/0.1509, allocations: 3.859 MB / 0.6702 GB, free: 7.312 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007645/0.1586, allocations: 2.387 MB / 0.6725 GB, free: 4.828 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001412/0.16, allocations: 0.6879 MB / 0.6732 GB, free: 4.137 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.151e-05/0.1601, allocations: 20.91 kB / 0.6732 GB, free: 4.117 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001636/0.1618, allocations: 0.8294 MB / 0.674 GB, free: 3.27 MB / 478.1 MB Notification: Performance of pre-optimization done (n=97): time 2.935e-06/0.1618, allocations: 0 / 0.674 GB, free: 3.27 MB / 478.1 MB Notification: Performance of matching and sorting (n=97): time 0.02972/0.1915, allocations: 7.218 MB / 0.6811 GB, free: 11.99 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.1916, allocations: 119.8 kB / 0.6812 GB, free: 11.85 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/0.1932, allocations: 1.123 MB / 0.6823 GB, free: 10.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001739/0.1934, allocations: 41.7 kB / 0.6823 GB, free: 10.66 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000349/0.1937, allocations: 0.493 MB / 0.6828 GB, free: 10.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003404/0.1941, allocations: 366.9 kB / 0.6832 GB, free: 9.801 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004861/0.1946, allocations: 291.4 kB / 0.6834 GB, free: 9.512 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.201e-05/0.1947, allocations: 313.1 kB / 0.6837 GB, free: 9.203 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001639/0.1963, allocations: 0.773 MB / 0.6845 GB, free: 8.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001759/0.1981, allocations: 0.9538 MB / 0.6854 GB, free: 7.438 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02494/0.223, allocations: 5.798 MB / 0.6911 GB, free: 1.555 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/0.223, allocations: 4 kB / 0.6911 GB, free: 1.551 MB / 494.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.01425/0.2373, allocations: 4.446 MB / 0.6954 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.451e-05/0.2374, allocations: 63.34 kB / 0.6955 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.2374, allocations: 4 kB / 0.6955 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006316/0.2437, allocations: 1.643 MB / 0.6971 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/0.2452, allocations: 291.5 kB / 0.6974 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02116/0.2664, allocations: 8.588 MB / 0.7058 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.2683, allocations: 210.7 kB / 0.706 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001462/0.2685, allocations: 55.97 kB / 0.706 GB, free: 2.059 MB / 0.4981 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 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.0006169/0.2691, allocations: 320.2 kB / 0.7063 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/0.2693, allocations: 122.5 kB / 0.7064 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01354/0.2829, allocations: 3.896 MB / 0.7102 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.62e-05/0.2829, allocations: 7.969 kB / 0.7102 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.283, allocations: 0 / 0.7102 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004232/0.2834, allocations: 227.2 kB / 0.7105 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002528/0.2836, allocations: 20 kB / 0.7105 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/0.2849, allocations: 115.8 kB / 0.7106 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009742/0.2859, allocations: 436.3 kB / 0.711 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006769/0.2926, allocations: 2.288 MB / 0.7132 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004506/0.2972, allocations: 2.3 MB / 0.7155 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001342/0.2985, allocations: 0.5816 MB / 0.7161 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001165/0.2997, allocations: 0.763 MB / 0.7168 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of Backend: time 3.9e-07/0.2997, allocations: 0 / 0.7168 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006533/0.3062, allocations: 2.144 MB / 0.7189 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of SimCode: time 0.003807/0.3101, allocations: 3.01 MB / 0.7218 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of Templates: time 0.03457/0.3447, allocations: 23.42 MB / 0.7447 GB, free: 10.21 MB / 0.545 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.FifthOrder_AVRII.pipe 2>&1)