Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00422/0.00422, allocations: 170.6 kB / 15.11 MB, free: 5.973 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.153/1.153, allocations: 223.2 MB / 239 MB, free: 1.781 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.0008351/0.0008352, allocations: 91.89 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4117/0.4117, allocations: 78.52 MB / 419.8 MB, free: 44.07 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000312/0.000312, allocations: 12 kB / 499.7 MB, free: 2.738 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2915, allocations: 69.35 MB / 0.5557 GB, free: 38.75 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.109/0.4005, allocations: 102.2 MB / 0.6555 GB, free: 4.176 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.4008, allocations: 79.95 kB / 0.6556 GB, free: 4.098 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2294/0.6301, allocations: 100.3 MB / 0.7536 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6302, allocations: 0 / 0.7536 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001816/0.6304, allocations: 91.88 kB / 0.7537 GB, free: 15.03 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 893 * Number of variables: 893 Notification: Performance of Generate backend data structure: time 0.01522/0.6456, allocations: 6.554 MB / 0.7601 GB, free: 8.387 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.6457, allocations: 12.03 kB / 0.7601 GB, free: 8.375 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01544/0.6611, allocations: 2.803 MB / 0.7628 GB, free: 5.562 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004825/0.666, allocations: 2.321 MB / 0.7651 GB, free: 3.164 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007778/0.6667, allocations: 0.9885 MB / 0.7661 GB, free: 2.039 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005916/0.6673, allocations: 344 kB / 0.7664 GB, free: 1.703 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2514/0.9187, allocations: 4.927 MB / 0.7712 GB, free: 90.8 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.255e-05/0.9188, allocations: 0.5625 kB / 0.7712 GB, free: 90.8 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004116/0.9193, allocations: 138.3 kB / 0.7713 GB, free: 90.8 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.988e-05/0.9193, allocations: 84.84 kB / 0.7714 GB, free: 90.8 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008632/0.928, allocations: 4.49 MB / 0.7758 GB, free: 90.77 MB / 0.5573 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 preOpt removeSimpleEquations (simulation): time 0.02581/0.9538, allocations: 18.57 MB / 0.7939 GB, free: 84.4 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01084/0.9647, allocations: 5.678 MB / 0.7995 GB, free: 83.95 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003706/0.9651, allocations: 71.45 kB / 0.7995 GB, free: 83.95 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005569/0.9706, allocations: 3.416 MB / 0.8029 GB, free: 83.8 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=383): time 5.841e-06/0.9707, allocations: 0 / 0.8029 GB, free: 83.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=383): time 0.2716/1.242, allocations: 79.49 MB / 0.8805 GB, free: 77.36 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.4e-05/1.242, allocations: 145.8 kB / 0.8806 GB, free: 77.2 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003918/1.246, allocations: 2.702 MB / 0.8833 GB, free: 75.58 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0009446/1.247, allocations: 89.69 kB / 0.8834 GB, free: 75.54 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001216/1.248, allocations: 1.999 MB / 0.8853 GB, free: 74.49 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001416/1.25, allocations: 1.298 MB / 0.8866 GB, free: 73.5 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002867/1.25, allocations: 76 kB / 0.8867 GB, free: 73.43 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001333/1.25, allocations: 444.1 kB / 0.8871 GB, free: 73.03 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004666/1.255, allocations: 2.66 MB / 0.8897 GB, free: 70.41 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004698/1.26, allocations: 3.237 MB / 0.8928 GB, free: 66.99 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004546/1.264, allocations: 2.914 MB / 0.8957 GB, free: 64.06 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/1.264, allocations: 4 kB / 0.8957 GB, free: 64.06 MB / 0.5573 GB Notification: Performance of matching and sorting (n=468) (initialization): time 0.04947/1.314, allocations: 20.17 MB / 0.9154 GB, free: 44.03 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.475e-05/1.314, allocations: 68.48 kB / 0.9155 GB, free: 43.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.772e-05/1.314, allocations: 12 kB / 0.9155 GB, free: 43.94 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02327/1.337, allocations: 8.551 MB / 0.9238 GB, free: 35.39 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002721/1.34, allocations: 0.5617 MB / 0.9244 GB, free: 34.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07327/1.413, allocations: 37.07 MB / 0.9606 GB, free: 13.71 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005471/1.419, allocations: 0.6957 MB / 0.9612 GB, free: 13.01 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005116/1.419, allocations: 136 kB / 0.9614 GB, free: 12.88 MB / 0.573 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 fixed = true ) "Rotor speed [pu]" type: Real aVRTypeII.firstOrder2.y:VARIABLE(start = aVRTypeII.firstOrder2.y_start fixed = true ) "Connector of Real output signal" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" fixed = true ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.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 (331): * Single equations (assignments): 328 * 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.001861/1.421, allocations: 0.6528 MB / 0.962 GB, free: 12.25 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009174/1.422, allocations: 458.3 kB / 0.9624 GB, free: 11.8 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05398/1.476, allocations: 20.56 MB / 0.9825 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-05/1.476, allocations: 36 kB / 0.9826 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.424e-05/1.476, allocations: 32 kB / 0.9826 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.861e-05/1.476, allocations: 15.94 kB / 0.9826 GB, free: 7.105 MB / 0.5886 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.2915/1.768, allocations: 25.5 MB / 1.008 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.227e-05/1.768, allocations: 0 / 1.008 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002191/1.77, allocations: 391.9 kB / 1.008 GB, free: 105.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02518/1.795, allocations: 8.616 MB / 1.016 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001193/1.796, allocations: 70.62 kB / 1.016 GB, free: 105.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0734/1.87, allocations: 34.35 MB / 1.05 GB, free: 102.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/1.87, allocations: 0 / 1.05 GB, free: 102.8 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05645/1.926, allocations: 24.21 MB / 1.074 GB, free: 99.54 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001357/1.928, allocations: 0.5573 MB / 1.074 GB, free: 99.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006959/1.928, allocations: 64.03 kB / 1.074 GB, free: 99.11 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003681/1.932, allocations: 499.4 kB / 1.075 GB, free: 99.04 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002855/1.935, allocations: 0.7836 MB / 1.075 GB, free: 98.92 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000285/1.935, allocations: 93.77 kB / 1.075 GB, free: 98.89 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002469/1.938, allocations: 2.063 MB / 1.077 GB, free: 98.15 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.91e-07/1.938, allocations: 0 / 1.077 GB, free: 98.15 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.004349/1.942, allocations: 1.763 MB / 1.079 GB, free: 97.94 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (order3.delta,order3.w,order3.e1q,order4.delta,order4.w,order4.e1q,order4.e1d,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 (247): * Single equations (assignments): 244 * 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 {(98,5.5%) 38} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004849/1.943, allocations: 212.8 kB / 1.079 GB, free: 97.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02154/1.964, allocations: 9.953 MB / 1.089 GB, free: 94.75 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.964, allocations: 0 / 1.089 GB, free: 94.75 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01711/1.981, allocations: 7.037 MB / 1.096 GB, free: 92.59 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002578/1.984, allocations: 312.9 kB / 1.096 GB, free: 92.38 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01226/1.996, allocations: 9.646 MB / 1.106 GB, free: 84.79 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001415/1.998, allocations: 2.531 MB / 1.108 GB, free: 82.91 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001395/1.999, allocations: 298.8 kB / 1.108 GB, free: 82.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000696/2, allocations: 198.3 kB / 1.109 GB, free: 82.52 MB / 0.5886 GB Notification: Performance of SimCode: time 9.52e-07/2, allocations: 4 kB / 1.109 GB, free: 82.52 MB / 0.5886 GB Notification: Performance of Templates: time 0.0989/2.099, allocations: 78.23 MB / 1.185 GB, free: 24.28 MB / 0.5886 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.makefile (rm -f OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.sim & ./OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRII.pipe 2>&1)