Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_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.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009623/0.0009623, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.326/1.326, allocations: 223.2 MB / 238.9 MB, free: 5.457 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.001642/0.001642, allocations: 185 kB / 290.2 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4526/0.4526, allocations: 79.45 MB / 420.7 MB, free: 3.973 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003808/0.0003808, allocations: 11.98 kB / 0.489 GB, free: 5.602 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1492, allocations: 69.51 MB / 0.5569 GB, free: 32 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI): time 0.2222/0.3715, allocations: 5.575 MB / 0.5623 GB, free: 37.1 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003465/0.375, allocations: 1.957 MB / 0.5642 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006374/0.3756, allocations: 11.28 kB / 0.5642 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000597/0.3762, allocations: 166.2 kB / 0.5644 GB, free: 36.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001668/0.3779, allocations: 0.7131 MB / 0.5651 GB, free: 36.7 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.379, allocations: 0.5359 MB / 0.5656 GB, free: 36.67 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001408/0.3804, allocations: 0.9758 MB / 0.5666 GB, free: 36.42 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003559/0.3808, allocations: 254 kB / 0.5668 GB, free: 36.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000564/0.3814, allocations: 0.5399 MB / 0.5673 GB, free: 36.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006304/0.382, allocations: 0.7021 MB / 0.568 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.3821, allocations: 61.03 kB / 0.5681 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004044/0.3825, allocations: 170.7 kB / 0.5682 GB, free: 36.05 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000214/0.3828, allocations: 253.6 kB / 0.5685 GB, free: 35.98 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002136/0.383, allocations: 231.7 kB / 0.5687 GB, free: 35.9 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.3841, allocations: 1.177 MB / 0.5699 GB, free: 35.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.3841, allocations: 2.25 kB / 0.5699 GB, free: 35.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3841, allocations: 1.312 kB / 0.5699 GB, free: 35.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.653e-05/0.3841, allocations: 0 / 0.5699 GB, free: 35.68 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.007572/0.3917, allocations: 2.492 MB / 0.5723 GB, free: 34.6 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.3917, allocations: 8.5 kB / 0.5723 GB, free: 34.6 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004906/0.3966, allocations: 0.782 MB / 0.5731 GB, free: 34.46 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001502/0.3982, allocations: 0.8396 MB / 0.5739 GB, free: 33.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00021/0.3984, allocations: 235.6 kB / 0.5741 GB, free: 33.72 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.3985, allocations: 83.69 kB / 0.5742 GB, free: 33.7 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/0.4005, allocations: 1.145 MB / 0.5753 GB, free: 33.28 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.4005, allocations: 0 / 0.5753 GB, free: 33.28 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.71e-05/0.4006, allocations: 32.09 kB / 0.5753 GB, free: 33.25 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.4006, allocations: 20.45 kB / 0.5754 GB, free: 33.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/0.4024, allocations: 1.063 MB / 0.5764 GB, free: 32.92 MB / 430.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.005776/0.4082, allocations: 4.141 MB / 0.5804 GB, free: 30.39 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006982/0.4152, allocations: 2.882 MB / 0.5833 GB, free: 29.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.4154, allocations: 16.8 kB / 0.5833 GB, free: 29.52 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.4154, allocations: 48.86 kB / 0.5833 GB, free: 29.47 MB / 430.1 MB Notification: Performance of pre-optimization done (n=92): time 3.427e-06/0.4154, allocations: 0 / 0.5833 GB, free: 29.47 MB / 430.1 MB Notification: Performance of matching and sorting (n=92): time 0.03019/0.4456, allocations: 8.417 MB / 0.5915 GB, free: 28.05 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.952e-05/0.4457, allocations: 144.7 kB / 0.5917 GB, free: 27.89 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001877/0.4476, allocations: 1.069 MB / 0.5927 GB, free: 27.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002425/0.4479, allocations: 42.95 kB / 0.5928 GB, free: 27.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003331/0.4482, allocations: 0.4903 MB / 0.5932 GB, free: 27.01 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003338/0.4486, allocations: 339 kB / 0.5936 GB, free: 26.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.553e-05/0.4486, allocations: 33.78 kB / 0.5936 GB, free: 26.72 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.4488, allocations: 368.2 kB / 0.5939 GB, free: 26.39 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/0.4504, allocations: 0.8059 MB / 0.5947 GB, free: 26.11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001658/0.452, allocations: 0.9731 MB / 0.5957 GB, free: 25.67 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/0.4536, allocations: 0.9405 MB / 0.5966 GB, free: 25.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.4537, allocations: 9.781 kB / 0.5966 GB, free: 25.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01425/0.4679, allocations: 5.13 MB / 0.6016 GB, free: 23.98 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002531/0.4682, allocations: 1.199 MB / 0.6028 GB, free: 22.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.4682, allocations: 4.594 kB / 0.6028 GB, free: 22.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00639/0.4746, allocations: 1.85 MB / 0.6046 GB, free: 22.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/0.4762, allocations: 271.3 kB / 0.6049 GB, free: 22.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0208/0.497, allocations: 9.277 MB / 0.6139 GB, free: 17.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/0.499, allocations: 218.2 kB / 0.6141 GB, free: 17.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002407/0.4992, allocations: 54.61 kB / 0.6142 GB, free: 17.64 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.4992, allocations: 11.95 kB / 0.6142 GB, free: 17.62 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01262/0.5119, allocations: 4.962 MB / 0.619 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.5119, allocations: 4.859 kB / 0.619 GB, free: 12.72 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005306/0.5172, allocations: 1.861 MB / 0.6209 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.5185, allocations: 263.6 kB / 0.6211 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01796/0.5365, allocations: 9.272 MB / 0.6302 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/0.5384, allocations: 195.2 kB / 0.6304 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002414/0.5386, allocations: 56.72 kB / 0.6304 GB, free: 0.9531 MB / 430.1 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 order3.e1q:VARIABLE(start = order3.e1q0 unit = "1" fixed = true ) "q-axis transient voltage" 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (151): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {18 14} Notification: Performance of prepare postOptimizeDAE: time 0.0008037/0.5394, allocations: 374.1 kB / 0.6308 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000371/0.5398, allocations: 130.3 kB / 0.6309 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01264/0.5525, allocations: 4.595 MB / 0.6354 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.5525, allocations: 8 kB / 0.6354 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-05/0.5525, allocations: 8 kB / 0.6354 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.231e-05/0.5526, allocations: 4.922 kB / 0.6354 GB, free: 11.81 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 postOpt removeSimpleEquations (simulation): time 0.01543/0.568, allocations: 6.292 MB / 0.6415 GB, free: 5.391 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/0.5681, allocations: 0.6094 kB / 0.6415 GB, free: 5.391 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007297/0.5688, allocations: 111.9 kB / 0.6416 GB, free: 5.281 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005502/0.5743, allocations: 1.797 MB / 0.6434 GB, free: 3.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002003/0.5745, allocations: 16 kB / 0.6434 GB, free: 3.465 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01763/0.5922, allocations: 8.027 MB / 0.6513 GB, free: 11.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.5922, allocations: 4 kB / 0.6513 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01539/0.6076, allocations: 5.532 MB / 0.6567 GB, free: 5.73 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005599/0.6082, allocations: 219.3 kB / 0.6569 GB, free: 5.496 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003954/0.6086, allocations: 20 kB / 0.6569 GB, free: 5.477 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/0.61, allocations: 135.9 kB / 0.657 GB, free: 5.344 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005543/0.6106, allocations: 184.7 kB / 0.6572 GB, free: 5.16 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.666e-05/0.6107, allocations: 24 kB / 0.6572 GB, free: 5.137 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001276/0.612, allocations: 0.7196 MB / 0.6579 GB, free: 4.41 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.612, allocations: 0 / 0.6579 GB, free: 4.41 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002539/0.6145, allocations: 0.7569 MB / 0.6587 GB, free: 3.652 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 9 (order2.delta,order2.w,order3.delta,order3.w,order3.e1q,aVRTypeII.firstOrder.y,aVRTypeII.firstOrder2.y,aVRTypeII.transferFunction.x_scaled[1],aVRTypeII.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(19,24.4%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002958/0.6148, allocations: 138.9 kB / 0.6588 GB, free: 3.512 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01139/0.6262, allocations: 4.793 MB / 0.6635 GB, free: 14.66 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.6263, allocations: 4 kB / 0.6635 GB, free: 14.66 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00437/0.6307, allocations: 1.643 MB / 0.6651 GB, free: 13 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.6318, allocations: 105 kB / 0.6652 GB, free: 12.89 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00474/0.6365, allocations: 2.61 MB / 0.6677 GB, free: 10.29 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007629/0.6373, allocations: 1.156 MB / 0.6689 GB, free: 9.102 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007513/0.6381, allocations: 160.3 kB / 0.669 GB, free: 8.949 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002975/0.6384, allocations: 79.36 kB / 0.6691 GB, free: 8.875 MB / 478.1 MB Notification: Performance of SimCode: time 1.182e-06/0.6384, allocations: 0 / 0.6691 GB, free: 8.875 MB / 478.1 MB Notification: Performance of Templates: time 0.0412/0.6796, allocations: 26.94 MB / 0.6954 GB, free: 14.1 MB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoAreaOld.ThirdOrder_AVRI.pipe 2>&1)