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.006952/0.006951, allocations: 168.6 kB / 15.11 MB, free: 5.992 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.478/1.478, allocations: 170.8 MB / 186.6 MB, free: 1.133 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.001679/0.001678, allocations: 103.4 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-master/package.mo): time 0.02955/0.02955, allocations: 6.922 MB / 272.6 MB, free: 11.64 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003887/0.0003887, allocations: 16 kB / 323.5 MB, free: 59.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07997/0.08037, allocations: 40.42 MB / 363.9 MB, free: 18.62 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3226/0.4031, allocations: 77.62 MB / 441.5 MB, free: 14 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.4034, allocations: 71.08 kB / 441.6 MB, free: 13.98 MB / 282.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.2564/0.6598, allocations: 85.19 MB / 0.5144 GB, free: 9.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.6599, allocations: 0 / 0.5144 GB, free: 9.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003255/0.6602, allocations: 95.75 kB / 0.5145 GB, free: 8.996 MB / 346.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.0224/0.6826, allocations: 5.559 MB / 0.5199 GB, free: 3.367 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.163e-05/0.6827, allocations: 11.97 kB / 0.52 GB, free: 3.355 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003306/0.686, allocations: 450.8 kB / 0.5204 GB, free: 2.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01046/0.6965, allocations: 3.204 MB / 0.5235 GB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005611/0.6971, allocations: 426 kB / 0.5239 GB, free: 15.17 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001651/0.6988, allocations: 307.8 kB / 0.5242 GB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008798/0.7076, allocations: 3.795 MB / 0.5279 GB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.892e-05/0.7077, allocations: 0 / 0.5279 GB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004102/0.7081, allocations: 120.3 kB / 0.528 GB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-05/0.7082, allocations: 67.95 kB / 0.5281 GB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008809/0.717, allocations: 4.11 MB / 0.5321 GB, free: 6.688 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2673/0.9843, allocations: 12.33 MB / 0.5442 GB, free: 70.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0156/0.9999, allocations: 6.489 MB / 0.5505 GB, free: 68.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008103/1.001, allocations: 55 kB / 0.5505 GB, free: 68.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005815/1.007, allocations: 2.311 MB / 0.5528 GB, free: 68.82 MB / 362.7 MB Notification: Performance of pre-optimization done (n=352): time 8.195e-06/1.007, allocations: 0 / 0.5528 GB, free: 68.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=521): time 0.2898/1.297, allocations: 54.78 MB / 0.6063 GB, free: 61.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/1.297, allocations: 421.7 kB / 0.6067 GB, free: 61.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006277/1.303, allocations: 2.845 MB / 0.6095 GB, free: 58.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001865/1.305, allocations: 125.7 kB / 0.6096 GB, free: 58.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009876/1.306, allocations: 1.354 MB / 0.6109 GB, free: 57.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002475/1.308, allocations: 1.771 MB / 0.6127 GB, free: 55.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004856/1.309, allocations: 96 kB / 0.6127 GB, free: 55.65 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002358/1.309, allocations: 496.5 kB / 0.6132 GB, free: 55.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005362/1.314, allocations: 3.176 MB / 0.6163 GB, free: 51.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006198/1.321, allocations: 3.786 MB / 0.62 GB, free: 48.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00623/1.327, allocations: 3.478 MB / 0.6234 GB, free: 44.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-05/1.327, allocations: 0 / 0.6234 GB, free: 44.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=619) (initialization): time 0.09045/1.417, allocations: 17.83 MB / 0.6408 GB, free: 26.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.931e-05/1.418, allocations: 11.95 kB / 0.6408 GB, free: 26.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/1.418, allocations: 8 kB / 0.6408 GB, free: 26.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05751/1.475, allocations: 11.87 MB / 0.6524 GB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007005/1.482, allocations: 1.772 MB / 0.6542 GB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3658/1.848, allocations: 70.42 MB / 0.7229 GB, free: 56.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009225/1.857, allocations: 483.7 kB / 0.7234 GB, free: 56.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001992/1.859, allocations: 171 kB / 0.7236 GB, free: 56.61 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (332): * Single equations (assignments): 313 * Array equations: 0 * 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,60.2%) 114} * Non-linear torn systems: 5 {6 5,6 5,6 5,6 5,23 87} Notification: Performance of prepare postOptimizeDAE: time 0.00438/1.864, allocations: 0.8372 MB / 0.7244 GB, free: 56.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001784/1.865, allocations: 387.6 kB / 0.7247 GB, free: 56.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07557/1.941, allocations: 16.76 MB / 0.7411 GB, free: 50.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-05/1.941, allocations: 50 kB / 0.7412 GB, free: 50.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.713e-05/1.941, allocations: 25.33 kB / 0.7412 GB, free: 50.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001735/1.941, allocations: 24.75 kB / 0.7412 GB, free: 50.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09279/2.034, allocations: 24.52 MB / 0.7652 GB, free: 42.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.29e-05/2.034, allocations: 0 / 0.7652 GB, free: 42.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003669/2.038, allocations: 0.4999 MB / 0.7656 GB, free: 42.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0473/2.085, allocations: 9.559 MB / 0.775 GB, free: 40.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002151/2.088, allocations: 170 kB / 0.7751 GB, free: 40.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08376/2.171, allocations: 37.9 MB / 0.8122 GB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/2.171, allocations: 0 / 0.8122 GB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3313/2.503, allocations: 21.23 MB / 0.8329 GB, free: 68.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004864/2.508, allocations: 1.294 MB / 0.8341 GB, free: 68.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001759/2.509, allocations: 126.1 kB / 0.8343 GB, free: 68.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007255/2.517, allocations: 461.5 kB / 0.8347 GB, free: 68.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00252/2.519, allocations: 454 kB / 0.8351 GB, free: 68.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007551/2.52, allocations: 159.1 kB / 0.8353 GB, free: 68.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.006757/2.527, allocations: 2.288 MB / 0.8375 GB, free: 68.45 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/2.527, allocations: 0 / 0.8375 GB, free: 68.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00903/2.536, allocations: 1.967 MB / 0.8394 GB, free: 68.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 44 (G1.w,G1.delta,G1.lamfd,G1.lam1d,G1.lam1q,G1.lam2q,G1.Gov.TF.x_scaled[1],G1.Exc.AVR.x_scaled[1],G1.Exc.WashOut.x_scaled[1],G1.Exc.Phase_Compensation1.x_scaled[1],G1.Exc.Phase_Compensation2.x_scaled[1],G2.w,G2.delta,G2.lamfd,G2.lam1d,G2.lam1q,G2.lam2q,G2.Gov.TF.x_scaled[1],G2.Exc.AVR.x_scaled[1],G2.Exc.WashOut.x_scaled[1],G2.Exc.Phase_Compensation1.x_scaled[1],G2.Exc.Phase_Compensation2.x_scaled[1],G3.w,G3.delta,G3.lamfd,G3.lam1d,G3.lam1q,G3.lam2q,G3.Gov.TF.x_scaled[1],G3.Exc.AVR.x_scaled[1],G3.Exc.WashOut.x_scaled[1],G3.Exc.Phase_Compensation1.x_scaled[1],G3.Exc.Phase_Compensation2.x_scaled[1],G4.w,G4.delta,G4.lamfd,G4.lam1d,G4.lam1q,G4.lam2q,G4.Gov.TF.x_scaled[1],G4.Exc.AVR.x_scaled[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (271): * Single equations (assignments): 269 * 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 {16 114} Notification: Performance of Backend phase and start with SimCode phase: time 0.001367/2.537, allocations: 252.8 kB / 0.8397 GB, free: 68.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.03197/2.569, allocations: 12.35 MB / 0.8518 GB, free: 66.63 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.805e-05/2.569, allocations: 7.062 kB / 0.8518 GB, free: 66.63 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0159/2.585, allocations: 6.06 MB / 0.8577 GB, free: 66.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0041/2.589, allocations: 471.5 kB / 0.8581 GB, free: 66.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03139/2.621, allocations: 13.5 MB / 0.8713 GB, free: 62.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003799/2.625, allocations: 2.522 MB / 0.8738 GB, free: 61.31 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002907/2.628, allocations: 478 kB / 0.8742 GB, free: 61.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/2.629, allocations: 206.2 kB / 0.8744 GB, free: 61.27 MB / 378.7 MB Notification: Performance of SimCode: time 1.393e-06/2.629, allocations: 0 / 0.8744 GB, free: 61.27 MB / 378.7 MB Notification: Performance of Templates: time 0.397/3.026, allocations: 144 MB / 1.015 GB, free: 79.7 MB / 394.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)