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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000956/0.0009561, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 1.1.0-master/package.mo): time 0.03113/0.03113, allocations: 6.917 MB / 277.3 MB, free: 14.4 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ObjectStab requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005524/0.0005525, allocations: 12 kB / 337 MB, free: 28 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1082, allocations: 49.24 MB / 386.3 MB, free: 10.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ObjectStab.Examples.KundurHJW.System): time 0.01171/0.12, allocations: 10.22 MB / 396.5 MB, free: 472 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009124/0.1292, allocations: 4.468 MB / 400.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003646/0.1329, allocations: 35.88 kB / 401 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002169/0.1351, allocations: 449 kB / 401.4 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004742/0.1398, allocations: 1.11 MB / 402.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005555/0.1454, allocations: 2.175 MB / 404.7 MB, free: 8.227 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.008361/0.1538, allocations: 3.688 MB / 408.4 MB, free: 4.527 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002282/0.1561, allocations: 0.9618 MB / 409.4 MB, free: 3.527 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005409/0.1615, allocations: 2.368 MB / 411.7 MB, free: 1.152 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006074/0.1676, allocations: 2.94 MB / 414.7 MB, free: 14.2 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002164/0.1698, allocations: 264 kB / 414.9 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002265/0.1721, allocations: 264 kB / 415.2 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003051/0.1752, allocations: 1.028 MB / 416.2 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002125/0.1773, allocations: 0.6053 MB / 416.8 MB, free: 12.04 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006183/0.1835, allocations: 4.212 MB / 421 MB, free: 7.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1835, allocations: 0 / 421 MB, free: 7.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.1835, allocations: 0 / 421 MB, free: 7.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002246/0.1838, allocations: 0 / 421 MB, free: 7.82 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 600 * Number of variables: 600 Notification: Performance of Generate backend data structure: time 0.02228/0.2061, allocations: 5.324 MB / 426.3 MB, free: 2.426 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.2061, allocations: 8.031 kB / 426.4 MB, free: 2.418 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00274/0.2089, allocations: 399.1 kB / 426.7 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2195/0.4284, allocations: 2.742 MB / 429.5 MB, free: 41.43 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003025/0.4288, allocations: 308 kB / 429.8 MB, free: 41.3 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007424/0.4295, allocations: 268.5 kB / 430.1 MB, free: 41.26 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007034/0.4366, allocations: 3.366 MB / 433.4 MB, free: 39.82 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.15e-05/0.4366, allocations: 2.062 kB / 433.4 MB, free: 39.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003178/0.437, allocations: 96.62 kB / 433.5 MB, free: 39.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.969e-05/0.4371, allocations: 57.06 kB / 433.6 MB, free: 39.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008154/0.4452, allocations: 3.844 MB / 437.4 MB, free: 38.34 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02489/0.4701, allocations: 11.34 MB / 448.8 MB, free: 32.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009635/0.4798, allocations: 5.405 MB / 454.2 MB, free: 28.77 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005568/0.4804, allocations: 58.83 kB / 454.2 MB, free: 28.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003963/0.4844, allocations: 2.171 MB / 456.4 MB, free: 26.96 MB / 318.1 MB Notification: Performance of pre-optimization done (n=323): time 6.683e-06/0.4844, allocations: 0 / 456.4 MB, free: 26.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=455): time 0.2617/0.7462, allocations: 50.22 MB / 0.4947 GB, free: 8.766 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000433/0.7467, allocations: 415.4 kB / 0.4951 GB, free: 8.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007466/0.7541, allocations: 3.024 MB / 0.4981 GB, free: 5.238 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001876/0.756, allocations: 105.7 kB / 0.4982 GB, free: 5.129 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001194/0.7573, allocations: 1.2 MB / 0.4994 GB, free: 3.922 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002803/0.7601, allocations: 1.571 MB / 0.5009 GB, free: 2.363 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004497/0.7605, allocations: 88 kB / 0.501 GB, free: 2.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003023/0.7608, allocations: 467.1 kB / 0.5014 GB, free: 1.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005544/0.7664, allocations: 2.89 MB / 0.5042 GB, free: 14.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006407/0.7728, allocations: 3.411 MB / 0.5076 GB, free: 11.36 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006655/0.7795, allocations: 3.165 MB / 0.5107 GB, free: 8.152 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/0.7796, allocations: 0 / 0.5107 GB, free: 8.152 MB / 366.1 MB Notification: Performance of matching and sorting (n=543) (initialization): time 0.08804/0.8676, allocations: 16.65 MB / 0.5269 GB, free: 7.391 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00109/0.8687, allocations: 2.571 MB / 0.5294 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.706e-05/0.8688, allocations: 8 kB / 0.5294 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0546/0.9234, allocations: 11.07 MB / 0.5402 GB, free: 9.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007245/0.9307, allocations: 1.752 MB / 0.542 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3509/1.282, allocations: 64.65 MB / 0.6051 GB, free: 114.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00772/1.289, allocations: 457.6 kB / 0.6055 GB, free: 114.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001028/1.29, allocations: 155 kB / 0.6057 GB, free: 114.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/1.29, allocations: 3.906 kB / 0.6057 GB, free: 114.4 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0802/1.371, allocations: 15.94 MB / 0.6213 GB, free: 109.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.317e-05/1.371, allocations: 7.469 kB / 0.6213 GB, free: 109.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05029/1.421, allocations: 11.09 MB / 0.6321 GB, free: 105.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003464/1.425, allocations: 0.6905 MB / 0.6328 GB, free: 104.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08981/1.514, allocations: 52.12 MB / 0.6837 GB, free: 51.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007147/1.522, allocations: 383.7 kB / 0.684 GB, free: 50.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001387/1.523, allocations: 151.9 kB / 0.6842 GB, free: 50.83 MB / 430.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (308): * Single equations (assignments): 289 * 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,(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.003749/1.527, allocations: 0.8205 MB / 0.685 GB, free: 50 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001622/1.528, allocations: 359.5 kB / 0.6853 GB, free: 49.65 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07051/1.599, allocations: 15.57 MB / 0.7005 GB, free: 34.04 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.165e-05/1.599, allocations: 44 kB / 0.7006 GB, free: 34 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.236e-05/1.599, allocations: 20 kB / 0.7006 GB, free: 33.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001244/1.599, allocations: 27.91 kB / 0.7006 GB, free: 33.95 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07972/1.679, allocations: 22.03 MB / 0.7221 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.142e-05/1.679, allocations: 4 kB / 0.7221 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003065/1.682, allocations: 499.3 kB / 0.7226 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04148/1.724, allocations: 8.932 MB / 0.7313 GB, free: 2.52 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001527/1.725, allocations: 151.9 kB / 0.7315 GB, free: 2.371 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.277/2.002, allocations: 32.63 MB / 0.7633 GB, free: 132.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/2.002, allocations: 1.469 kB / 0.7633 GB, free: 132.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07649/2.079, allocations: 19.3 MB / 0.7822 GB, free: 126.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003418/2.082, allocations: 1.184 MB / 0.7833 GB, free: 125.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001157/2.083, allocations: 118.7 kB / 0.7835 GB, free: 125.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005873/2.089, allocations: 442.1 kB / 0.7839 GB, free: 125.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001894/2.091, allocations: 384.9 kB / 0.7842 GB, free: 125.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004832/2.092, allocations: 143.4 kB / 0.7844 GB, free: 125.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004752/2.096, allocations: 2.211 MB / 0.7865 GB, free: 124.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/2.096, allocations: 3.875 kB / 0.7865 GB, free: 124.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01022/2.107, allocations: 2.757 MB / 0.7892 GB, free: 124.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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: 5 ($whenCondition1,G1.online,G2.online,G3.online,G4.online) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (257): * Single equations (assignments): 255 * 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 {12 92} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007323/2.107, allocations: 223.7 kB / 0.7895 GB, free: 124.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.04761/2.155, allocations: 18.48 MB / 0.8075 GB, free: 110.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/2.155, allocations: 0 / 0.8075 GB, free: 110.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01241/2.168, allocations: 5.3 MB / 0.8127 GB, free: 105.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003878/2.171, allocations: 481.3 kB / 0.8131 GB, free: 105 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0274/2.199, allocations: 12.26 MB / 0.8251 GB, free: 93.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002766/2.202, allocations: 2.444 MB / 0.8275 GB, free: 90.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003503/2.205, allocations: 0.5789 MB / 0.8281 GB, free: 90.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001293/2.207, allocations: 183.4 kB / 0.8282 GB, free: 90.16 MB / 446.1 MB Notification: Performance of SimCode: time 1.493e-06/2.207, allocations: 0 / 0.8282 GB, free: 90.16 MB / 446.1 MB Notification: Performance of Templates: time 0.4351/2.642, allocations: 188.3 MB / 1.012 GB, free: 50.87 MB / 446.1 MB make -j1 -f ObjectStab_ObjectStab.Examples.KundurHJW.System.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: