Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ObjectStab_ObjectStab.Examples.KundurHJW.System.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-master/package.mo", uses=false) Using package ObjectStab with version 1.1 Dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-master/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ObjectStab.Examples.KundurHJW.System,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ObjectStab_ObjectStab.Examples.KundurHJW.System") translateModel(ObjectStab.Examples.KundurHJW.System,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ObjectStab_ObjectStab.Examples.KundurHJW.System") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009882/0.0009881, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.16/1.16, allocations: 170.6 MB / 183.8 MB, free: 11.5 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001521/0.001521, allocations: 107.4 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-master/package.mo): time 0.0255/0.0255, allocations: 6.81 MB / 269.2 MB, free: 20.58 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.718e-05/2.733e-05, allocations: 4 kB / 317.5 MB, free: 4.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2198, allocations: 40.42 MB / 358 MB, free: 34.38 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08916/0.309, allocations: 76.1 MB / 434.1 MB, free: 6.215 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002214/0.3093, allocations: 70.97 kB / 434.1 MB, free: 6.148 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-master/Base/wRefPin.mo:2:1-14:12:writable] Warning: Connector .ObjectStab.Base.wRefPin is not balanced: The number of potential variables (0) is not equal to the number of flow variables (2). Notification: Performance of FrontEnd - DAE generated: time 0.4049/0.7143, allocations: 77.91 MB / 0.5 GB, free: 39.75 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.7143, allocations: 0 / 0.5 GB, free: 39.75 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004208/0.7148, allocations: 79.88 kB / 0.5001 GB, free: 39.67 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.0144/0.7292, allocations: 3.954 MB / 0.504 GB, free: 35.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.7292, allocations: 12.03 kB / 0.504 GB, free: 35.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00189/0.7311, allocations: 403.3 kB / 0.5044 GB, free: 35.24 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004715/0.7358, allocations: 2.512 MB / 0.5068 GB, free: 32.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002041/0.7361, allocations: 300 kB / 0.5071 GB, free: 32.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005362/0.7366, allocations: 271.8 kB / 0.5074 GB, free: 32.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004819/0.7414, allocations: 3.123 MB / 0.5104 GB, free: 28.85 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.894e-05/0.7415, allocations: 0 / 0.5104 GB, free: 28.85 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003037/0.7418, allocations: 96 kB / 0.5105 GB, free: 28.76 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.931e-05/0.7418, allocations: 59.95 kB / 0.5106 GB, free: 28.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005129/0.747, allocations: 3.423 MB / 0.5139 GB, free: 25.26 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01693/0.7639, allocations: 10.62 MB / 0.5243 GB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009091/0.7731, allocations: 5.599 MB / 0.5297 GB, free: 8.785 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002989/0.7761, allocations: 1.856 MB / 0.5316 GB, free: 6.922 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003484/0.7765, allocations: 54.42 kB / 0.5316 GB, free: 6.867 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002948/0.7794, allocations: 1.993 MB / 0.5336 GB, free: 4.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=323): time 4.749e-06/0.7794, allocations: 0 / 0.5336 GB, free: 4.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=514): time 0.4995/1.279, allocations: 96.59 MB / 0.6279 GB, free: 78.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1385/1.417, allocations: 42.65 MB / 0.6695 GB, free: 45.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003531/1.421, allocations: 2.235 MB / 0.6717 GB, free: 42.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001521/1.423, allocations: 109.7 kB / 0.6718 GB, free: 42.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008194/1.423, allocations: 1.166 MB / 0.673 GB, free: 41.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003539/1.427, allocations: 1.78 MB / 0.6747 GB, free: 40.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006669/1.428, allocations: 92 kB / 0.6748 GB, free: 39.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001857/1.428, allocations: 0.489 MB / 0.6753 GB, free: 39.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008587/1.436, allocations: 6.971 MB / 0.6821 GB, free: 32.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008963/1.445, allocations: 7.525 MB / 0.6894 GB, free: 24.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009412/1.455, allocations: 7.319 MB / 0.6966 GB, free: 17.47 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.25e-05/1.455, allocations: 4 kB / 0.6966 GB, free: 17.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=626) (initialization): time 0.09323/1.548, allocations: 25.3 MB / 0.7213 GB, free: 8.062 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.157e-05/1.548, allocations: 8 kB / 0.7213 GB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.961e-05/1.548, allocations: 4 kB / 0.7213 GB, free: 8.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2368/1.785, allocations: 11.14 MB / 0.7322 GB, free: 92.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008201/1.793, allocations: 2.053 MB / 0.7342 GB, free: 92.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09908/1.892, allocations: 61.35 MB / 0.7941 GB, free: 57.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05138/1.944, allocations: 3.751 MB / 0.7978 GB, free: 57.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00237/1.946, allocations: 495.9 kB / 0.7982 GB, free: 57.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,G1.online,G2.online,G3.online,G4.online) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (345): * Single equations (assignments): 324 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(12,61.1%) 92} * Non-linear torn systems: 5 {6 5,6 5,6 5,6 5,19 65} Notification: Performance of prepare postOptimizeDAE: time 0.002181/1.949, allocations: 325.3 kB / 0.7985 GB, free: 57.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001496/1.95, allocations: 365.3 kB / 0.7989 GB, free: 57.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1773/2.127, allocations: 55.94 MB / 0.8535 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3602/2.488, allocations: 42.36 MB / 0.8949 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.844e-05/2.488, allocations: 19.84 kB / 0.8949 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000151/2.488, allocations: 25.59 kB / 0.8949 GB, free: 79.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1729/2.661, allocations: 70.63 MB / 0.9639 GB, free: 41.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.485e-05/2.661, allocations: 4 kB / 0.9639 GB, free: 41.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004924/2.666, allocations: 0.7954 MB / 0.9647 GB, free: 41.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1162/2.782, allocations: 32 MB / 0.9959 GB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002389/2.784, allocations: 343.1 kB / 0.9963 GB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3908/3.175, allocations: 91.72 MB / 1.086 GB, free: 74.86 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.07629/3.252, allocations: 30.42 MB / 1.116 GB, free: 44.89 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3966/3.648, allocations: 54.34 MB / 1.169 GB, free: 91.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006087/3.654, allocations: 2.362 MB / 1.171 GB, free: 91.13 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001797/3.656, allocations: 124.4 kB / 1.171 GB, free: 91.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03212/3.688, allocations: 1.905 MB / 1.173 GB, free: 91.13 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003808/3.692, allocations: 0.7068 MB / 1.174 GB, free: 91.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001166/3.693, allocations: 340.4 kB / 1.174 GB, free: 91.12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00278/3.696, allocations: 1.706 MB / 1.176 GB, free: 90.96 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.91e-07/3.696, allocations: 0 / 1.176 GB, free: 90.96 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.02631/3.723, allocations: 11.99 MB / 1.187 GB, free: 90.96 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 44 ($STATESET1.x[24],$STATESET1.x[23],$STATESET1.x[22],$STATESET1.x[21],$STATESET1.x[20],$STATESET1.x[19],$STATESET1.x[18],$STATESET1.x[17],$STATESET1.x[16],$STATESET1.x[15],$STATESET1.x[14],$STATESET1.x[13],$STATESET1.x[12],$STATESET1.x[11],$STATESET1.x[10],$STATESET1.x[9],$STATESET1.x[8],$STATESET1.x[7],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],G1.Gov.TF.x[1],G1.Exc.AVR.x[1],G1.Exc.WashOut.x_scaled[1],G1.Exc.Phase_Compensation1.x_scaled[1],G1.Exc.Phase_Compensation2.x_scaled[1],G2.Gov.TF.x[1],G2.Exc.AVR.x[1],G2.Exc.WashOut.x_scaled[1],G2.Exc.Phase_Compensation1.x_scaled[1],G2.Exc.Phase_Compensation2.x_scaled[1],G3.Gov.TF.x[1],G3.Exc.AVR.x[1],G3.Exc.WashOut.x_scaled[1],G3.Exc.Phase_Compensation1.x_scaled[1],G3.Exc.Phase_Compensation2.x_scaled[1],G4.Gov.TF.x[1],G4.Exc.AVR.x[1],G4.Exc.WashOut.x_scaled[1],G4.Exc.Phase_Compensation1.x_scaled[1],G4.Exc.Phase_Compensation2.x_scaled[1]) * Number of discrete variables: 5 ($whenCondition1,G1.online,G2.online,G3.online,G4.online) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (284): * Single equations (assignments): 282 * Array equations: 0 * Algorithm blocks: 0 * 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 {(12,61.1%) 92} * Non-linear torn systems: 1 {36 100} Notification: Performance of Backend phase and start with SimCode phase: time 0.001742/3.724, allocations: 259.9 kB / 1.188 GB, free: 90.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.03847/3.763, allocations: 21.08 MB / 1.208 GB, free: 79.23 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/3.763, allocations: 7.156 kB / 1.208 GB, free: 79.22 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.04779/3.811, allocations: 23.76 MB / 1.231 GB, free: 61.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009087/3.82, allocations: 478.8 kB / 1.232 GB, free: 61.51 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03605/3.856, allocations: 17.32 MB / 1.249 GB, free: 47.21 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002311/3.858, allocations: 3.162 MB / 1.252 GB, free: 44.86 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0058/3.864, allocations: 0.9891 MB / 1.253 GB, free: 44.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005575/3.87, allocations: 0.7244 MB / 1.253 GB, free: 43.81 MB / 394.7 MB Notification: Performance of SimCode: time 1.333e-06/3.87, allocations: 3.844 kB / 1.253 GB, free: 43.81 MB / 394.7 MB Notification: Performance of Templates: time 0.7301/4.6, allocations: 237.8 MB / 1.486 GB, free: 94.8 MB / 410.7 MB make -j1 -f ObjectStab_ObjectStab.Examples.KundurHJW.System.makefile (rm -f ObjectStab_ObjectStab.Examples.KundurHJW.System.pipe ; mkfifo ObjectStab_ObjectStab.Examples.KundurHJW.System.pipe ; head -c 1048576 < ObjectStab_ObjectStab.Examples.KundurHJW.System.pipe >> ../files/ObjectStab_ObjectStab.Examples.KundurHJW.System.sim & ./ObjectStab_ObjectStab.Examples.KundurHJW.System -abortSlowSimulation -alarm=480 -lv LOG_STATS > ObjectStab_ObjectStab.Examples.KundurHJW.System.pipe 2>&1)