Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_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.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008746/0.008746, allocations: 167.4 kB / 15.13 MB, free: 6.031 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.257/1.257, allocations: 223.3 MB / 239.1 MB, free: 1.707 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007434/0.0007434, allocations: 97.39 kB / 290.3 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4309/0.4309, allocations: 78.61 MB / 420 MB, free: 44.24 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003284/0.0003285, allocations: 8 kB / 499.9 MB, free: 2.926 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3797/0.38, allocations: 69.34 MB / 0.5559 GB, free: 38.76 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII): time 0.006811/0.3869, allocations: 6.135 MB / 0.5619 GB, free: 37.41 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.005505/0.3924, allocations: 1.961 MB / 0.5638 GB, free: 36.01 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001794/0.3943, allocations: 13.03 kB / 0.5638 GB, free: 36.01 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001166/0.3955, allocations: 174.1 kB / 0.564 GB, free: 35.93 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003152/0.3987, allocations: 0.6694 MB / 0.5646 GB, free: 35.5 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.4003, allocations: 0.5292 MB / 0.5651 GB, free: 35.25 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00252/0.4029, allocations: 1.494 MB / 0.5666 GB, free: 34.5 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005737/0.4034, allocations: 266.2 kB / 0.5669 GB, free: 34.38 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.4046, allocations: 0.5861 MB / 0.5674 GB, free: 34.13 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.4056, allocations: 0.777 MB / 0.5682 GB, free: 33.8 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002008/0.4058, allocations: 68.34 kB / 0.5683 GB, free: 33.8 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000535/0.4064, allocations: 187.2 kB / 0.5684 GB, free: 33.76 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001874/0.4066, allocations: 264.5 kB / 0.5687 GB, free: 33.62 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002411/0.4068, allocations: 231.3 kB / 0.5689 GB, free: 33.47 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.4078, allocations: 1.291 MB / 0.5702 GB, free: 33.09 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4078, allocations: 0 / 0.5702 GB, free: 33.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4078, allocations: 2.906 kB / 0.5702 GB, free: 33.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.713e-05/0.4079, allocations: 0 / 0.5702 GB, free: 33.09 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.008359/0.4162, allocations: 2.599 MB / 0.5727 GB, free: 31.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.4163, allocations: 8.531 kB / 0.5727 GB, free: 31.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004964/0.4213, allocations: 0.7895 MB / 0.5735 GB, free: 31.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/0.423, allocations: 0.8851 MB / 0.5744 GB, free: 31.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002299/0.4232, allocations: 262.5 kB / 0.5746 GB, free: 31 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/0.4234, allocations: 82.72 kB / 0.5747 GB, free: 30.97 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002149/0.4256, allocations: 1.17 MB / 0.5758 GB, free: 30.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.4256, allocations: 0 / 0.5758 GB, free: 30.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.867e-05/0.4257, allocations: 30.78 kB / 0.5759 GB, free: 30.51 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.4258, allocations: 22.52 kB / 0.5759 GB, free: 30.51 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002027/0.4278, allocations: 1.062 MB / 0.5769 GB, free: 30.16 MB / 426.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.006096/0.4339, allocations: 3.999 MB / 0.5808 GB, free: 27.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007359/0.4413, allocations: 2.947 MB / 0.5837 GB, free: 27 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001342/0.4426, allocations: 0.7515 MB / 0.5844 GB, free: 26.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.858e-05/0.4427, allocations: 19.39 kB / 0.5844 GB, free: 26.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001497/0.4443, allocations: 0.8962 MB / 0.5853 GB, free: 26.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=98): time 2.725e-06/0.4443, allocations: 0 / 0.5853 GB, free: 26.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=98): time 0.02953/0.4738, allocations: 8.605 MB / 0.5937 GB, free: 24.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.4739, allocations: 115 kB / 0.5938 GB, free: 24.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/0.4757, allocations: 1.136 MB / 0.5949 GB, free: 24.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002465/0.4759, allocations: 46.36 kB / 0.595 GB, free: 24.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003401/0.4763, allocations: 0.4928 MB / 0.5955 GB, free: 23.76 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000347/0.4766, allocations: 373 kB / 0.5958 GB, free: 23.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.88e-05/0.4767, allocations: 30.69 kB / 0.5959 GB, free: 23.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.79e-05/0.4768, allocations: 368 kB / 0.5962 GB, free: 23.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001739/0.4786, allocations: 0.8516 MB / 0.597 GB, free: 22.81 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00181/0.4804, allocations: 1.026 MB / 0.598 GB, free: 22.36 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001883/0.4823, allocations: 0.9908 MB / 0.599 GB, free: 21.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/0.4823, allocations: 1.031 kB / 0.599 GB, free: 21.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.01576/0.4981, allocations: 5.298 MB / 0.6042 GB, free: 20.58 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.798e-05/0.4982, allocations: 64.61 kB / 0.6042 GB, free: 20.51 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.4982, allocations: 3.219 kB / 0.6042 GB, free: 20.51 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007911/0.5061, allocations: 2.017 MB / 0.6062 GB, free: 20.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001538/0.5077, allocations: 293.9 kB / 0.6065 GB, free: 20.15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02022/0.5279, allocations: 10.39 MB / 0.6166 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002034/0.53, allocations: 246.5 kB / 0.6169 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.5301, allocations: 55.98 kB / 0.6169 GB, free: 11.17 MB / 426.7 MB Warning: Assuming fixed start value for the following 4 variables: order6.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 aVRTypeII.firstOrder2.y:VARIABLE(flow=false start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order6.e2d:VARIABLE(start = order6.e2d0 unit = "1" fixed = true ) "d-axis sub-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 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 167 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {20 13} Notification: Performance of prepare postOptimizeDAE: time 0.0004868/0.5306, allocations: 304.3 kB / 0.6172 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00017/0.5308, allocations: 126.4 kB / 0.6173 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01294/0.5437, allocations: 4.756 MB / 0.622 GB, free: 5.953 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.5437, allocations: 12 kB / 0.622 GB, free: 5.941 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.5438, allocations: 4 kB / 0.622 GB, free: 5.938 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.005e-05/0.5438, allocations: 11.98 kB / 0.622 GB, free: 5.926 MB / 426.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 postOpt removeSimpleEquations (simulation): time 0.01435/0.5581, allocations: 6.388 MB / 0.6283 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.5582, allocations: 0 / 0.6283 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006994/0.5589, allocations: 103.9 kB / 0.6284 GB, free: 15.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005723/0.5646, allocations: 1.891 MB / 0.6302 GB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001591/0.5648, allocations: 24 kB / 0.6302 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02274/0.5875, allocations: 9.67 MB / 0.6397 GB, free: 3.449 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.421e-06/0.5876, allocations: 4.125 kB / 0.6397 GB, free: 3.445 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02413/0.6117, allocations: 5.702 MB / 0.6452 GB, free: 13.71 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007295/0.6125, allocations: 231.2 kB / 0.6455 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003536/0.6129, allocations: 23.95 kB / 0.6455 GB, free: 13.44 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001913/0.6148, allocations: 151.9 kB / 0.6456 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005132/0.6153, allocations: 188.7 kB / 0.6458 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.027e-05/0.6154, allocations: 28 kB / 0.6458 GB, free: 13.08 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001091/0.6165, allocations: 0.7634 MB / 0.6466 GB, free: 12.31 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6165, allocations: 0 / 0.6466 GB, free: 12.31 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001461/0.618, allocations: 495.6 kB / 0.6471 GB, free: 11.83 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (order2.delta,order2.w,order6.delta,order6.w,order6.e1q,order6.e1d,order6.e2q,order6.e2d,aVRTypeII.ExcitationSystem.x_scaled[1],aVRTypeII.derivativeBlock.x,aVRTypeII.firstOrder2.y,aVRTypeII.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,23.0%) 12} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002558/0.6182, allocations: 140.4 kB / 0.6472 GB, free: 11.68 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009365/0.6276, allocations: 2.994 MB / 0.6501 GB, free: 8.641 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.6277, allocations: 4 kB / 0.6501 GB, free: 8.637 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006636/0.6343, allocations: 1.828 MB / 0.6519 GB, free: 6.77 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.6358, allocations: 119 kB / 0.652 GB, free: 6.656 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005847/0.6417, allocations: 2.874 MB / 0.6548 GB, free: 3.766 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008281/0.6425, allocations: 1.132 MB / 0.6559 GB, free: 2.602 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0007267/0.6433, allocations: 116.3 kB / 0.656 GB, free: 2.484 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004096/0.6437, allocations: 83.41 kB / 0.6561 GB, free: 2.402 MB / 458.7 MB Notification: Performance of SimCode: time 1.002e-06/0.6437, allocations: 0 / 0.6561 GB, free: 2.402 MB / 458.7 MB Notification: Performance of Templates: time 0.03993/0.6836, allocations: 22.16 MB / 0.6778 GB, free: 12.27 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.makefile (rm -f OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe >> ../files/OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.sim & ./OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Examples.PSATSystems.TwoAreaOld.SixthOrder_AVRII.pipe 2>&1)