Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI") translateModel(OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009827/0.0009826, allocations: 169.3 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.354/1.354, allocations: 205.3 MB / 213.4 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008503/0.0008503, allocations: 91.52 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06861/0.06861, allocations: 12.59 MB / 321.9 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2937/0.2937, allocations: 78.06 MB / 450.8 MB, free: 3.031 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.704e-05/1.708e-05, allocations: 4 kB / 0.5147 GB, free: 29.61 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1163, allocations: 69.32 MB / 0.5824 GB, free: 8.395 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3745/0.4909, allocations: 102.7 MB / 0.6827 GB, free: 5.398 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000203/0.4911, allocations: 74.14 kB / 0.6827 GB, free: 5.359 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2421/0.7332, allocations: 94.35 MB / 0.7749 GB, free: 1.527 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7333, allocations: 0 / 0.7749 GB, free: 1.527 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004063/0.7337, allocations: 84 kB / 0.7749 GB, free: 1.445 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 890 * Number of variables: 890 Notification: Performance of Generate backend data structure: time 0.01909/0.7528, allocations: 5.735 MB / 0.7805 GB, free: 11.63 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.7529, allocations: 8.031 kB / 0.7806 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01734/0.7702, allocations: 2.775 MB / 0.7833 GB, free: 8.84 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005821/0.776, allocations: 2.267 MB / 0.7855 GB, free: 6.496 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009882/0.7771, allocations: 0.8384 MB / 0.7863 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00136/0.7784, allocations: 199.9 kB / 0.7865 GB, free: 5.332 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008397/0.7869, allocations: 3.447 MB / 0.7899 GB, free: 1.883 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008568/0.7955, allocations: 3.583 MB / 0.7934 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.469e-05/0.7955, allocations: 0 / 0.7934 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003414/0.7959, allocations: 4 kB / 0.7934 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.627e-05/0.796, allocations: 87.95 kB / 0.7934 GB, free: 14.18 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.03259/0.8286, allocations: 18.07 MB / 0.8111 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/0.8388, allocations: 4.647 MB / 0.8156 GB, free: 6.203 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003666/0.8425, allocations: 2.116 MB / 0.8177 GB, free: 4.078 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005467/0.8431, allocations: 66.92 kB / 0.8178 GB, free: 4.012 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.228e-05/0.8432, allocations: 77.44 kB / 0.8178 GB, free: 3.926 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=380): time 6.823e-06/0.8432, allocations: 0 / 0.8178 GB, free: 3.926 MB / 0.5417 GB Notification: Performance of matching and sorting (n=380): time 0.05216/0.8953, allocations: 17.16 MB / 0.8346 GB, free: 2.715 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.819e-05/0.8955, allocations: 175.5 kB / 0.8348 GB, free: 2.512 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0037/0.8992, allocations: 2.424 MB / 0.8371 GB, free: 76 kB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007876/0.9, allocations: 25.7 kB / 0.8371 GB, free: 44 kB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00151/0.9015, allocations: 2.003 MB / 0.8391 GB, free: 14.02 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001654/0.9032, allocations: 1.239 MB / 0.8403 GB, free: 12.77 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002764/0.9035, allocations: 0 / 0.8403 GB, free: 12.77 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002198/0.9037, allocations: 449.5 kB / 0.8407 GB, free: 12.32 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0028/0.9065, allocations: 1.745 MB / 0.8424 GB, free: 10.57 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003153/0.9097, allocations: 2.313 MB / 0.8447 GB, free: 8.059 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003086/0.9128, allocations: 1.948 MB / 0.8466 GB, free: 6.098 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/0.9128, allocations: 4 kB / 0.8466 GB, free: 6.094 MB / 0.573 GB Notification: Performance of matching and sorting (n=458) (initialization): time 0.05108/0.9639, allocations: 17.24 MB / 0.8634 GB, free: 4.801 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.2686/1.233, allocations: 6.666 MB / 0.87 GB, free: 126.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.96e-05/1.233, allocations: 18.89 kB / 0.87 GB, free: 126.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02357/1.256, allocations: 6.838 MB / 0.8767 GB, free: 126.9 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002879/1.259, allocations: 0.5416 MB / 0.8772 GB, free: 126.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05673/1.316, allocations: 25.03 MB / 0.9016 GB, free: 125.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005911/1.322, allocations: 0.6272 MB / 0.9022 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009105/1.323, allocations: 129 kB / 0.9024 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/1.323, allocations: 5.344 kB / 0.9024 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04605/1.369, allocations: 16.77 MB / 0.9187 GB, free: 125 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.672e-05/1.369, allocations: 13.31 kB / 0.9188 GB, free: 125 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02118/1.39, allocations: 6.842 MB / 0.9254 GB, free: 125 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002814/1.393, allocations: 0.5298 MB / 0.926 GB, free: 125 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05044/1.444, allocations: 25.04 MB / 0.9504 GB, free: 114.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005708/1.449, allocations: 0.5873 MB / 0.951 GB, free: 114.3 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006841/1.45, allocations: 130.3 kB / 0.9511 GB, free: 114.3 MB / 0.5886 GB Warning: Assuming fixed start value for the following 5 variables: order4.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order3.w:VARIABLE(start = 1.0 ) "Rotor speed [pu]" type: Real order4.e1d:VARIABLE(start = order4.e1d0 unit = "1" ) "d-axis transient voltage" type: Real order4.e1q:VARIABLE(start = order4.e1q0 unit = "1" ) "q-axis transient voltage" type: Real order4.delta:VARIABLE(start = order4.delta0 unit = "rad" ) "Rotor angle" 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (322): * Single equations (assignments): 319 * 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 {92 45} Notification: Performance of prepare postOptimizeDAE: time 0.0009676/1.451, allocations: 213 kB / 0.9513 GB, free: 114.1 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001124/1.452, allocations: 455.8 kB / 0.9517 GB, free: 113.9 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0474/1.5, allocations: 17.6 MB / 0.9689 GB, free: 106.5 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.415e-05/1.5, allocations: 36 kB / 0.969 GB, free: 106.5 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-05/1.5, allocations: 28.56 kB / 0.969 GB, free: 106.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.302e-05/1.5, allocations: 26.14 kB / 0.969 GB, free: 106.4 MB / 0.5886 GB Warning: The model contains alias variables with conflicting start and/or 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.05531/1.555, allocations: 22.49 MB / 0.991 GB, free: 89.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.959e-05/1.555, allocations: 0 / 0.991 GB, free: 89.54 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002378/1.557, allocations: 410.3 kB / 0.9914 GB, free: 89.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01982/1.577, allocations: 6.9 MB / 0.9981 GB, free: 83.86 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007264/1.578, allocations: 19.75 kB / 0.9981 GB, free: 83.84 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04283/1.621, allocations: 22.27 MB / 1.02 GB, free: 64.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.621, allocations: 4 kB / 1.02 GB, free: 64.2 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04915/1.67, allocations: 20.45 MB / 1.04 GB, free: 47.45 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/1.671, allocations: 0.5508 MB / 1.04 GB, free: 46.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007698/1.672, allocations: 11.52 kB / 1.04 GB, free: 46.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003965/1.676, allocations: 432.2 kB / 1.041 GB, free: 46.62 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002372/1.678, allocations: 0.7638 MB / 1.042 GB, free: 46.21 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003336/1.679, allocations: 91.61 kB / 1.042 GB, free: 46.13 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002134/1.681, allocations: 1.799 MB / 1.043 GB, free: 44.48 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/1.681, allocations: 0 / 1.043 GB, free: 44.48 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.006662/1.688, allocations: 2.608 MB / 1.046 GB, free: 42.01 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,aVRTypeI.firstOrder.y,aVRTypeI.firstOrder2.y,aVRTypeI.transferFunction.x_scaled[1],aVRTypeI.transferFunction.x_scaled[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (250): * Single equations (assignments): 248 * 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 {(100,5.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000462/1.688, allocations: 157.9 kB / 1.046 GB, free: 41.86 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03445/1.723, allocations: 13.99 MB / 1.06 GB, free: 29.23 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/1.723, allocations: 112 / 1.06 GB, free: 29.23 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01595/1.739, allocations: 5.844 MB / 1.065 GB, free: 24.08 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002277/1.741, allocations: 245.6 kB / 1.066 GB, free: 23.84 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009408/1.75, allocations: 5.871 MB / 1.071 GB, free: 18.48 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001502/1.752, allocations: 2.592 MB / 1.074 GB, free: 16.51 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002687/1.755, allocations: 0.6095 MB / 1.075 GB, free: 15.92 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006096/1.755, allocations: 171.4 kB / 1.075 GB, free: 15.75 MB / 0.5886 GB Notification: Performance of SimCode: time 4.71e-07/1.755, allocations: 0 / 1.075 GB, free: 15.75 MB / 0.5886 GB Notification: Performance of Templates: time 0.383/2.138, allocations: 104 MB / 1.176 GB, free: 113.7 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.TwoArea.FourthOrder_AVRI.pipe 2>&1)