Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ObjectStab_ObjectStab.Examples.KundurHJW.Lineopen.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.Lineopen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ObjectStab_ObjectStab.Examples.KundurHJW.Lineopen") translateModel(ObjectStab.Examples.KundurHJW.Lineopen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ObjectStab_ObjectStab.Examples.KundurHJW.Lineopen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01029/0.01029, allocations: 169 kB / 15.11 MB, free: 5.973 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.503/1.503, 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.001625/0.001625, allocations: 126.5 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-master/package.mo): time 0.04268/0.04268, allocations: 6.934 MB / 272.6 MB, free: 11.62 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004048/0.0004048, allocations: 12 kB / 323.5 MB, free: 59.01 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08507/0.0855, allocations: 40.42 MB / 363.9 MB, free: 18.62 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3229/0.4084, allocations: 77.35 MB / 441.2 MB, free: 14.18 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.4087, allocations: 75.11 kB / 441.3 MB, free: 14.17 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.246/0.6547, allocations: 81.48 MB / 0.5105 GB, free: 13.08 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6548, allocations: 0 / 0.5105 GB, free: 13.08 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003772/0.6552, allocations: 87.88 kB / 0.5106 GB, free: 12.99 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: 646 * Number of variables: 646 Notification: Performance of Generate backend data structure: time 0.02143/0.6766, allocations: 5.312 MB / 0.5158 GB, free: 7.613 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.6767, allocations: 8.031 kB / 0.5158 GB, free: 7.605 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002959/0.6796, allocations: 435 kB / 0.5162 GB, free: 7.176 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01065/0.6903, allocations: 3.086 MB / 0.5192 GB, free: 4.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005184/0.6909, allocations: 375.8 kB / 0.5196 GB, free: 3.613 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00159/0.6925, allocations: 287.8 kB / 0.5199 GB, free: 3.332 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008207/0.7007, allocations: 3.556 MB / 0.5233 GB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.859e-05/0.7008, allocations: 0 / 0.5233 GB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004552/0.7012, allocations: 104 kB / 0.5234 GB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.794e-05/0.7013, allocations: 63.95 kB / 0.5235 GB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009354/0.7107, allocations: 3.924 MB / 0.5273 GB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04364/0.7544, allocations: 11.41 MB / 0.5385 GB, free: 96 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2431/0.9976, allocations: 6.244 MB / 0.5446 GB, free: 75.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007014/0.9983, allocations: 56.31 kB / 0.5446 GB, free: 75.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004995/1.003, allocations: 2.22 MB / 0.5468 GB, free: 75.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=335): time 6.462e-06/1.003, allocations: 0 / 0.5468 GB, free: 75.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=488): time 0.283/1.286, allocations: 52.04 MB / 0.5976 GB, free: 71.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001768/1.287, allocations: 419.5 kB / 0.598 GB, free: 70.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006984/1.294, allocations: 2.763 MB / 0.6007 GB, free: 68.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001871/1.296, allocations: 117.7 kB / 0.6008 GB, free: 68.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009225/1.296, allocations: 1.257 MB / 0.6021 GB, free: 67.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002406/1.299, allocations: 1.674 MB / 0.6037 GB, free: 66.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005392/1.299, allocations: 92 kB / 0.6038 GB, free: 66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003327/1.3, allocations: 483.8 kB / 0.6042 GB, free: 65.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005656/1.305, allocations: 3.02 MB / 0.6072 GB, free: 62.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006258/1.312, allocations: 3.588 MB / 0.6107 GB, free: 58.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006069/1.318, allocations: 3.299 MB / 0.6139 GB, free: 55.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/1.318, allocations: 0 / 0.6139 GB, free: 55.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=580) (initialization): time 0.08637/1.404, allocations: 17.05 MB / 0.6306 GB, free: 38.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.209e-05/1.404, allocations: 9.25 kB / 0.6306 GB, free: 38.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/1.404, allocations: 4 kB / 0.6306 GB, free: 38.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05581/1.46, allocations: 11.29 MB / 0.6416 GB, free: 27.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006929/1.467, allocations: 1.768 MB / 0.6433 GB, free: 25.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.362/1.829, allocations: 66.64 MB / 0.7084 GB, free: 68.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009216/1.838, allocations: 470.2 kB / 0.7089 GB, free: 68.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001839/1.84, allocations: 158.5 kB / 0.709 GB, free: 68.88 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,G1.online,G2.online,G3.online,G4.online,L78_1.B1.closed,L78_1.B2.closed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 306 * 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,(14,68.4%) 100} * Non-linear torn systems: 5 {6 5,6 5,6 5,6 5,21 73} Notification: Performance of prepare postOptimizeDAE: time 0.003809/1.844, allocations: 0.7922 MB / 0.7098 GB, free: 68.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001651/1.846, allocations: 369.7 kB / 0.7101 GB, free: 68.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07632/1.922, allocations: 15.99 MB / 0.7258 GB, free: 64.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.944e-05/1.922, allocations: 51.16 kB / 0.7258 GB, free: 64.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.34e-05/1.922, allocations: 21.03 kB / 0.7258 GB, free: 64.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001909/1.923, allocations: 26.3 kB / 0.7258 GB, free: 64.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09645/2.019, allocations: 23.19 MB / 0.7485 GB, free: 56.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-05/2.019, allocations: 2.094 kB / 0.7485 GB, free: 56.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003635/2.023, allocations: 0.4996 MB / 0.749 GB, free: 56.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0461/2.069, allocations: 9.024 MB / 0.7578 GB, free: 55.26 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002213/2.071, allocations: 168.8 kB / 0.758 GB, free: 55.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07854/2.15, allocations: 34.43 MB / 0.7916 GB, free: 27.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/2.15, allocations: 7.625 kB / 0.7916 GB, free: 27.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08034/2.23, allocations: 20.07 MB / 0.8112 GB, free: 9.613 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00403/2.234, allocations: 1.232 MB / 0.8124 GB, free: 8.359 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001542/2.236, allocations: 128 kB / 0.8125 GB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007113/2.243, allocations: 451.3 kB / 0.8129 GB, free: 7.809 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00228/2.245, allocations: 420.8 kB / 0.8133 GB, free: 7.398 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007503/2.246, allocations: 147.9 kB / 0.8135 GB, free: 7.254 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.005354/2.251, allocations: 2.237 MB / 0.8157 GB, free: 5.027 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/2.251, allocations: 3.469 kB / 0.8157 GB, free: 5.027 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.008063/2.26, allocations: 1.849 MB / 0.8175 GB, free: 3.184 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: 7 ($whenCondition1,G1.online,G2.online,G3.online,G4.online,L78_1.B1.closed,L78_1.B2.closed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 268 * 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 {(14,63.3%) 100} * Non-linear torn systems: 1 {14 100} Notification: Performance of Backend phase and start with SimCode phase: time 0.001023/2.261, allocations: 243.5 kB / 0.8177 GB, free: 2.945 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.2077/2.468, allocations: 11.76 MB / 0.8292 GB, free: 75.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/2.468, allocations: 0 / 0.8292 GB, free: 75.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01483/2.483, allocations: 5.636 MB / 0.8347 GB, free: 74.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004432/2.488, allocations: 441.1 kB / 0.8351 GB, free: 74.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0275/2.515, allocations: 12.91 MB / 0.8477 GB, free: 71.21 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002109/2.517, allocations: 2.423 MB / 0.8501 GB, free: 70.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002628/2.52, allocations: 469.8 kB / 0.8505 GB, free: 70.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000905/2.521, allocations: 190.5 kB / 0.8507 GB, free: 70.39 MB / 378.7 MB Notification: Performance of SimCode: time 1.402e-06/2.521, allocations: 0 / 0.8507 GB, free: 70.39 MB / 378.7 MB Notification: Performance of Templates: time 0.4058/2.927, allocations: 136.5 MB / 0.984 GB, free: 85.57 MB / 394.7 MB make -j1 -f ObjectStab_ObjectStab.Examples.KundurHJW.Lineopen.makefile (rm -f ObjectStab_ObjectStab.Examples.KundurHJW.Lineopen.pipe ; mkfifo ObjectStab_ObjectStab.Examples.KundurHJW.Lineopen.pipe ; head -c 1048576 < ObjectStab_ObjectStab.Examples.KundurHJW.Lineopen.pipe >> ../files/ObjectStab_ObjectStab.Examples.KundurHJW.Lineopen.sim & ./ObjectStab_ObjectStab.Examples.KundurHJW.Lineopen -abortSlowSimulation -alarm=480 -lv LOG_STATS > ObjectStab_ObjectStab.Examples.KundurHJW.Lineopen.pipe 2>&1)