Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ObjectStab_ObjectStab.Examples.KundurHJW.Linefault.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.Linefault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ObjectStab_ObjectStab.Examples.KundurHJW.Linefault") translateModel(ObjectStab.Examples.KundurHJW.Linefault,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ObjectStab_ObjectStab.Examples.KundurHJW.Linefault") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001015/0.001015, 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.158/1.158, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001595/0.001595, allocations: 99.52 kB / 223.2 MB, free: 4.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-master/package.mo): time 0.02457/0.02457, allocations: 6.817 MB / 269.2 MB, free: 20.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.182e-05/2.185e-05, allocations: 4 kB / 317.5 MB, free: 4.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1858/0.1859, allocations: 40.41 MB / 357.9 MB, free: 34.39 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0877/0.2736, allocations: 77.54 MB / 435.5 MB, free: 4.781 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/0.2739, allocations: 71.97 kB / 435.6 MB, free: 4.711 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.3915/0.6653, allocations: 85.16 MB / 0.5085 GB, free: 31.09 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6654, allocations: 0 / 0.5085 GB, free: 31.09 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002573/0.6657, allocations: 95.81 kB / 0.5086 GB, free: 30.99 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: 708 * Number of variables: 708 Notification: Performance of Generate backend data structure: time 0.01317/0.6788, allocations: 4.37 MB / 0.5129 GB, free: 26.56 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.6789, allocations: 8.031 kB / 0.5129 GB, free: 26.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002377/0.6813, allocations: 446.8 kB / 0.5133 GB, free: 26.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00567/0.687, allocations: 2.74 MB / 0.516 GB, free: 23.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003371/0.6873, allocations: 422 kB / 0.5164 GB, free: 22.85 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001166/0.6885, allocations: 311.8 kB / 0.5167 GB, free: 22.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006073/0.6946, allocations: 3.592 MB / 0.5202 GB, free: 18.87 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.508e-05/0.6946, allocations: 0 / 0.5202 GB, free: 18.87 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003575/0.695, allocations: 120.3 kB / 0.5203 GB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.374e-05/0.695, allocations: 71.95 kB / 0.5204 GB, free: 18.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005956/0.701, allocations: 3.728 MB / 0.524 GB, free: 14.94 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0243/0.7253, allocations: 12.33 MB / 0.5361 GB, free: 2.523 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01238/0.7378, allocations: 5.971 MB / 0.5419 GB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004422/0.7422, allocations: 2.069 MB / 0.5439 GB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006637/0.7429, allocations: 62.7 kB / 0.544 GB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005447/0.7484, allocations: 2.126 MB / 0.546 GB, free: 8.082 MB / 330.7 MB Notification: Performance of pre-optimization done (n=352): time 6.071e-06/0.7484, allocations: 4 kB / 0.546 GB, free: 8.078 MB / 330.7 MB Notification: Performance of matching and sorting (n=569): time 0.5429/1.291, allocations: 105.1 MB / 0.6487 GB, free: 63.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.07846/1.37, allocations: 37.11 MB / 0.6849 GB, free: 27.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003746/1.374, allocations: 2.36 MB / 0.6872 GB, free: 25.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001515/1.375, allocations: 125.7 kB / 0.6874 GB, free: 24.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009802/1.376, allocations: 1.353 MB / 0.6887 GB, free: 23.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003572/1.38, allocations: 1.967 MB / 0.6906 GB, free: 21.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007287/1.381, allocations: 100 kB / 0.6907 GB, free: 21.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002078/1.381, allocations: 0.5058 MB / 0.6912 GB, free: 21.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009262/1.39, allocations: 7.495 MB / 0.6985 GB, free: 13.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00962/1.4, allocations: 8.138 MB / 0.7065 GB, free: 5.457 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0104/1.41, allocations: 7.879 MB / 0.7142 GB, free: 13.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.156e-05/1.41, allocations: 4 kB / 0.7142 GB, free: 13.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.3149/1.725, allocations: 26.91 MB / 0.7404 GB, free: 82.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.26e-05/1.725, allocations: 11.36 kB / 0.7405 GB, free: 82.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/1.725, allocations: 7.781 kB / 0.7405 GB, free: 82.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05209/1.777, allocations: 11.78 MB / 0.752 GB, free: 82.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008804/1.786, allocations: 2.079 MB / 0.754 GB, free: 82.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1143/1.9, allocations: 66.97 MB / 0.8194 GB, free: 38.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.05543/1.956, allocations: 3.969 MB / 0.8233 GB, free: 36.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001607/1.958, allocations: 0.5191 MB / 0.8238 GB, free: 36.26 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,G1.online,G2.online,G3.online,G4.online,L78_1.B1.closed,L78_1.B2.closed,L78_1.B3.closed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (358): * Single equations (assignments): 337 * 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,(16,68.0%) 114} * Non-linear torn systems: 5 {6 5,6 5,6 5,6 5,23 87} Notification: Performance of prepare postOptimizeDAE: time 0.001682/1.959, allocations: 353 kB / 0.8241 GB, free: 35.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001331/1.961, allocations: 401.5 kB / 0.8245 GB, free: 35.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4105/2.371, allocations: 61.14 MB / 0.8842 GB, free: 72.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1602/2.531, allocations: 45.97 MB / 0.9291 GB, free: 62.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.503e-05/2.531, allocations: 31.8 kB / 0.9291 GB, free: 62.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001873/2.532, allocations: 23.91 kB / 0.9292 GB, free: 62.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4125/2.944, allocations: 77.9 MB / 1.005 GB, free: 73.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.197e-05/2.944, allocations: 0 / 1.005 GB, free: 73.33 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005174/2.949, allocations: 0.811 MB / 1.006 GB, free: 73.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1267/3.076, allocations: 35.25 MB / 1.04 GB, free: 73.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00249/3.079, allocations: 361.7 kB / 1.041 GB, free: 73.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4285/3.507, allocations: 113.8 MB / 1.152 GB, free: 83.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.08221/3.589, allocations: 35.29 MB / 1.186 GB, free: 73.07 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1716/3.761, allocations: 59.05 MB / 1.244 GB, free: 48.89 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00679/3.768, allocations: 2.557 MB / 1.247 GB, free: 46.31 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002062/3.77, allocations: 135.9 kB / 1.247 GB, free: 46.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03294/3.803, allocations: 2.011 MB / 1.249 GB, free: 44.16 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005353/3.808, allocations: 0.7791 MB / 1.249 GB, free: 43.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002135/3.811, allocations: 363.1 kB / 1.25 GB, free: 43.03 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003685/3.814, allocations: 1.81 MB / 1.252 GB, free: 41.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.41e-07/3.814, allocations: 0 / 1.252 GB, free: 41.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.02957/3.844, allocations: 13.27 MB / 1.264 GB, free: 27.95 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: 8 ($whenCondition1,G1.online,G2.online,G3.online,G4.online,L78_1.B1.closed,L78_1.B2.closed,L78_1.B3.closed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (287): * Single equations (assignments): 285 * 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 {(16,60.2%) 114} * Non-linear torn systems: 1 {40 122} Notification: Performance of Backend phase and start with SimCode phase: time 0.002165/3.846, allocations: 275.8 kB / 1.265 GB, free: 27.68 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.2248/4.071, allocations: 22.77 MB / 1.287 GB, free: 92.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.976e-06/4.071, allocations: 3.5 kB / 1.287 GB, free: 92.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.05072/4.122, allocations: 26.42 MB / 1.313 GB, free: 91.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008369/4.13, allocations: 0.5137 MB / 1.313 GB, free: 91.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03584/4.166, allocations: 18.84 MB / 1.332 GB, free: 87.98 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00272/4.169, allocations: 3.412 MB / 1.335 GB, free: 87.09 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.005701/4.174, allocations: 1.04 MB / 1.336 GB, free: 87 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005246/4.18, allocations: 0.7734 MB / 1.337 GB, free: 86.99 MB / 394.7 MB Notification: Performance of SimCode: time 8.21e-07/4.18, allocations: 0 / 1.337 GB, free: 86.99 MB / 394.7 MB Notification: Performance of Templates: time 0.7095/4.889, allocations: 255.2 MB / 1.586 GB, free: 99.36 MB / 410.7 MB make -j1 -f ObjectStab_ObjectStab.Examples.KundurHJW.Linefault.makefile (rm -f ObjectStab_ObjectStab.Examples.KundurHJW.Linefault.pipe ; mkfifo ObjectStab_ObjectStab.Examples.KundurHJW.Linefault.pipe ; head -c 1048576 < ObjectStab_ObjectStab.Examples.KundurHJW.Linefault.pipe >> ../files/ObjectStab_ObjectStab.Examples.KundurHJW.Linefault.sim & ./ObjectStab_ObjectStab.Examples.KundurHJW.Linefault -abortSlowSimulation -alarm=480 -lv LOG_STATS > ObjectStab_ObjectStab.Examples.KundurHJW.Linefault.pipe 2>&1)