Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_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.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.324/1.324, allocations: 223.2 MB / 239 MB, free: 5.441 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.0009654/0.0009656, allocations: 180.5 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4911/0.4911, allocations: 91.92 MB / 433.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005888/0.000589, allocations: 8 kB / 0.5042 GB, free: 7.629 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3393, allocations: 72.46 MB / 0.5749 GB, free: 36.55 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII): time 0.01243/0.3518, allocations: 20.8 MB / 0.5952 GB, free: 21.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.009701/0.3615, allocations: 4.949 MB / 0.6001 GB, free: 18.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003597/0.3652, allocations: 48.28 kB / 0.6001 GB, free: 18.27 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001921/0.3671, allocations: 0.6101 MB / 0.6007 GB, free: 18 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005175/0.3723, allocations: 1.755 MB / 0.6024 GB, free: 16.77 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004006/0.3763, allocations: 1.754 MB / 0.6042 GB, free: 15.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006824/0.3831, allocations: 5.173 MB / 0.6092 GB, free: 13.11 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002558/0.3857, allocations: 1.055 MB / 0.6102 GB, free: 12.64 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00354/0.3893, allocations: 1.994 MB / 0.6122 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004278/0.3935, allocations: 2.584 MB / 0.6147 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001622/0.3952, allocations: 233.8 kB / 0.6149 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002569/0.3978, allocations: 377.8 kB / 0.6153 GB, free: 10.48 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001762/0.3995, allocations: 0.898 MB / 0.6162 GB, free: 9.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002704/0.4023, allocations: 0.8385 MB / 0.617 GB, free: 9.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006956/0.4092, allocations: 4.632 MB / 0.6215 GB, free: 7.949 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.4092, allocations: 5.188 kB / 0.6215 GB, free: 7.945 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4092, allocations: 0 / 0.6215 GB, free: 7.945 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002705/0.4095, allocations: 0 / 0.6215 GB, free: 7.945 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: 892 * Number of variables: 892 Notification: Performance of Generate backend data structure: time 0.0289/0.4384, allocations: 8.452 MB / 0.6298 GB, free: 4.445 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.4385, allocations: 17.59 kB / 0.6298 GB, free: 4.438 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02573/0.4642, allocations: 4.05 MB / 0.6337 GB, free: 1.551 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007327/0.4716, allocations: 2.494 MB / 0.6362 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001371/0.473, allocations: 1 MB / 0.6371 GB, free: 13.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001979/0.475, allocations: 344 kB / 0.6375 GB, free: 13.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01576/0.4908, allocations: 4.953 MB / 0.6423 GB, free: 8.523 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001206/0.491, allocations: 0 / 0.6423 GB, free: 8.523 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00121/0.4922, allocations: 140 kB / 0.6424 GB, free: 8.387 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-05/0.4923, allocations: 87.95 kB / 0.6425 GB, free: 8.301 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01134/0.5036, allocations: 4.478 MB / 0.6469 GB, free: 3.812 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.03715/0.5408, allocations: 18.79 MB / 0.6653 GB, free: 15.84 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01301/0.5539, allocations: 5.722 MB / 0.6708 GB, free: 10.03 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006346/0.5602, allocations: 3.039 MB / 0.6738 GB, free: 6.98 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006963/0.561, allocations: 70.91 kB / 0.6739 GB, free: 6.91 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007463/0.5684, allocations: 3.423 MB / 0.6772 GB, free: 3.445 MB / 478.1 MB Notification: Performance of pre-optimization done (n=382): time 7.093e-06/0.5685, allocations: 0 / 0.6772 GB, free: 3.445 MB / 478.1 MB Notification: Performance of matching and sorting (n=382): time 0.3164/0.8849, allocations: 81.45 MB / 0.7568 GB, free: 1.797 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.8851, allocations: 141.8 kB / 0.7569 GB, free: 1.633 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005568/0.8907, allocations: 3.202 MB / 0.76 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.001049/0.8917, allocations: 93.64 kB / 0.7601 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001666/0.8934, allocations: 1.963 MB / 0.762 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.002174/0.8956, allocations: 1.313 MB / 0.7633 GB, free: 11 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009504/0.8966, allocations: 84 kB / 0.7634 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0003252/0.8969, allocations: 463 kB / 0.7638 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006414/0.9033, allocations: 2.823 MB / 0.7666 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006926/0.9103, allocations: 3.447 MB / 0.77 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006986/0.9173, allocations: 3.104 MB / 0.773 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.52e-05/0.9173, allocations: 4 kB / 0.773 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.3151/1.232, allocations: 20.71 MB / 0.7932 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/1.233, allocations: 70.77 kB / 0.7933 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.317e-05/1.233, allocations: 14.69 kB / 0.7933 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02802/1.261, allocations: 8.619 MB / 0.8017 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003688/1.264, allocations: 0.6671 MB / 0.8024 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07881/1.343, allocations: 35.44 MB / 0.837 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006303/1.35, allocations: 0.7495 MB / 0.8377 GB, free: 133.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008908/1.351, allocations: 156 kB / 0.8379 GB, free: 133.5 MB / 0.5606 GB Warning: Assuming fixed start value for the following 4 variables: order3_1.w:VARIABLE(flow=false start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.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 order3_1.e1q:VARIABLE(start = order3_1.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: 65 * 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 (397): * Single equations (assignments): 394 * 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 {93 45} Notification: Performance of prepare postOptimizeDAE: time 0.00227/1.353, allocations: 0.6683 MB / 0.8385 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001184/1.354, allocations: 458.3 kB / 0.8389 GB, free: 132.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04966/1.404, allocations: 20.6 MB / 0.8591 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-05/1.404, allocations: 36 kB / 0.8591 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.971e-05/1.404, allocations: 28 kB / 0.8591 GB, free: 111.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001187/1.404, allocations: 23.92 kB / 0.8591 GB, free: 111.6 MB / 0.5606 GB 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.05696/1.461, allocations: 25.59 MB / 0.8841 GB, free: 86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.611e-05/1.461, allocations: 0 / 0.8841 GB, free: 86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002257/1.463, allocations: 383.5 kB / 0.8845 GB, free: 85.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02297/1.486, allocations: 8.718 MB / 0.893 GB, free: 76.89 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001024/1.487, allocations: 71.98 kB / 0.8931 GB, free: 76.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06687/1.554, allocations: 32.65 MB / 0.925 GB, free: 43.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.554, allocations: 0 / 0.925 GB, free: 43.89 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05746/1.612, allocations: 24.2 MB / 0.9486 GB, free: 19.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001517/1.613, allocations: 0.5649 MB / 0.9492 GB, free: 19.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00108/1.614, allocations: 67.94 kB / 0.9492 GB, free: 18.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003814/1.618, allocations: 0.4995 MB / 0.9497 GB, free: 18.44 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002751/1.621, allocations: 0.788 MB / 0.9505 GB, free: 17.65 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002975/1.621, allocations: 95.98 kB / 0.9506 GB, free: 17.56 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00257/1.624, allocations: 2.078 MB / 0.9526 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.9e-07/1.624, allocations: 0 / 0.9526 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004835/1.629, allocations: 1.798 MB / 0.9544 GB, free: 13.68 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (order3.delta,order3.w,order3.e1q,order3_1.delta,order3_1.w,order3_1.e1q,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 (246): * Single equations (assignments): 243 * 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 {(100,5.4%) 36} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004942/1.629, allocations: 210.5 kB / 0.9546 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02222/1.651, allocations: 10.24 MB / 0.9646 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/1.651, allocations: 4 kB / 0.9646 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01872/1.67, allocations: 7.06 MB / 0.9715 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005472/1.676, allocations: 391.1 kB / 0.9718 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01639/1.692, allocations: 9.216 MB / 0.9808 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002/1.694, allocations: 2.447 MB / 0.9832 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001752/1.696, allocations: 371.1 kB / 0.9836 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008745/1.697, allocations: 235.3 kB / 0.9838 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of SimCode: time 1.173e-06/1.697, allocations: 0 / 0.9838 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of Templates: time 0.3432/2.04, allocations: 80.74 MB / 1.063 GB, free: 154.1 MB / 0.5919 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.makefile (rm -f OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.sim & ./OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Examples.PSATSystems.TwoArea.ThirdOrder_AVRII.pipe 2>&1)