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/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 2.0.0-master/package.mo", uses=false) Using package ObjectStab with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001534/0.001534, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 2.0.0-master/package.mo): time 0.1816/0.1816, allocations: 6.923 MB / 298 MB, free: 3.43 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002926/0.0002927, allocations: 11.98 kB / 360.6 MB, free: 15.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1059, allocations: 52.07 MB / 412.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ObjectStab.Examples.KundurHJW.Lineopen): time 0.1954/0.3014, allocations: 11.49 MB / 424.1 MB, free: 34.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007909/0.3093, allocations: 4.583 MB / 428.7 MB, free: 34.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002444/0.3118, allocations: 45.8 kB / 428.8 MB, free: 34.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.3133, allocations: 482.7 kB / 429.2 MB, free: 34.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003114/0.3164, allocations: 1.028 MB / 430.3 MB, free: 34.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004783/0.3212, allocations: 2.36 MB / 432.6 MB, free: 34.01 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008311/0.3295, allocations: 5.994 MB / 438.6 MB, free: 33.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002149/0.3317, allocations: 1.08 MB / 439.7 MB, free: 32.88 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004864/0.3366, allocations: 2.445 MB / 442.1 MB, free: 32.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005483/0.3421, allocations: 3.169 MB / 445.3 MB, free: 31.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001679/0.3438, allocations: 282.2 kB / 445.6 MB, free: 31.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.3448, allocations: 281.4 kB / 445.9 MB, free: 31.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001031/0.3459, allocations: 1.076 MB / 446.9 MB, free: 30.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001028/0.3469, allocations: 0.6525 MB / 447.6 MB, free: 30.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003927/0.3508, allocations: 4.483 MB / 452.1 MB, free: 29.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.3508, allocations: 0.5156 kB / 452.1 MB, free: 29.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3508, allocations: 1.969 kB / 452.1 MB, free: 29.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000148/0.351, allocations: 0 / 452.1 MB, free: 29.49 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.01898/0.37, allocations: 5.498 MB / 457.6 MB, free: 27.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.37, allocations: 9.875 kB / 457.6 MB, free: 27.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002258/0.3723, allocations: 419.2 kB / 458 MB, free: 27.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007469/0.3798, allocations: 2.772 MB / 460.8 MB, free: 25.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003125/0.3801, allocations: 381.5 kB / 461.1 MB, free: 25.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007102/0.3808, allocations: 297.7 kB / 461.4 MB, free: 25.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007146/0.388, allocations: 3.598 MB / 465 MB, free: 23.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.833e-05/0.3881, allocations: 0 / 465 MB, free: 23.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003256/0.3884, allocations: 107.2 kB / 465.1 MB, free: 23.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.603e-05/0.3885, allocations: 60.84 kB / 465.2 MB, free: 23.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007803/0.3963, allocations: 3.987 MB / 469.2 MB, free: 22.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02245/0.4188, allocations: 12.14 MB / 481.3 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009337/0.4281, allocations: 5.553 MB / 486.9 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003369/0.4315, allocations: 2.124 MB / 489 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003438/0.4319, allocations: 58.55 kB / 489 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003419/0.4353, allocations: 2.246 MB / 491.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of pre-optimization done (n=335): time 4.789e-06/0.4353, allocations: 0 / 491.3 MB, free: 7.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=477): time 0.2478/0.6832, allocations: 50.14 MB / 0.5287 GB, free: 5.688 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001944/0.6834, allocations: 411.6 kB / 0.5291 GB, free: 5.199 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006617/0.69, allocations: 3.073 MB / 0.5321 GB, free: 2.105 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001318/0.6914, allocations: 109.7 kB / 0.5322 GB, free: 1.992 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001076/0.6925, allocations: 1.271 MB / 0.5335 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002084/0.6946, allocations: 1.629 MB / 0.5351 GB, free: 15.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005294/0.6951, allocations: 88 kB / 0.5352 GB, free: 15.01 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002852/0.6954, allocations: 479.4 kB / 0.5356 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005935/0.7013, allocations: 2.996 MB / 0.5385 GB, free: 11.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006386/0.7077, allocations: 3.564 MB / 0.542 GB, free: 7.809 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006383/0.7141, allocations: 3.271 MB / 0.5452 GB, free: 4.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.7142, allocations: 0 / 0.5452 GB, free: 4.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.07864/0.7928, allocations: 16.89 MB / 0.5617 GB, free: 3.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002329/0.7931, allocations: 332.9 kB / 0.562 GB, free: 3.059 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.92e-05/0.7931, allocations: 4 kB / 0.562 GB, free: 3.055 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05114/0.8442, allocations: 11.16 MB / 0.5729 GB, free: 7.887 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00689/0.8512, allocations: 1.768 MB / 0.5746 GB, free: 6.117 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3427/1.194, allocations: 64.91 MB / 0.638 GB, free: 81.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007655/1.202, allocations: 465.5 kB / 0.6385 GB, free: 80.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001193/1.203, allocations: 158.6 kB / 0.6386 GB, free: 80.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/1.203, allocations: 3.719 kB / 0.6386 GB, free: 80.94 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07952/1.282, allocations: 16.2 MB / 0.6545 GB, free: 76.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.014e-05/1.282, allocations: 7.719 kB / 0.6545 GB, free: 76.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04823/1.331, allocations: 11.17 MB / 0.6654 GB, free: 74.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003498/1.334, allocations: 0.6997 MB / 0.6661 GB, free: 74.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0919/1.426, allocations: 52.54 MB / 0.7174 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006565/1.433, allocations: 387.6 kB / 0.7177 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008121/1.434, allocations: 155.9 kB / 0.7179 GB, free: 21.35 MB / 446.1 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 (314): * Single equations (assignments): 295 * 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,63.3%) 100} * Non-linear torn systems: 5 {6 5,6 5,6 5,6 5,21 73} Notification: Performance of prepare postOptimizeDAE: time 0.002311/1.436, allocations: 0.8652 MB / 0.7187 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001124/1.437, allocations: 359.5 kB / 0.7191 GB, free: 20.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06277/1.5, allocations: 15.88 MB / 0.7346 GB, free: 4.203 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.618e-05/1.5, allocations: 51.98 kB / 0.7346 GB, free: 4.152 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.471e-05/1.5, allocations: 20 kB / 0.7346 GB, free: 4.133 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001191/1.5, allocations: 23.91 kB / 0.7347 GB, free: 4.109 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2957/1.796, allocations: 22.73 MB / 0.7569 GB, free: 112.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.175e-05/1.796, allocations: 0 / 0.7569 GB, free: 112.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003106/1.799, allocations: 497.2 kB / 0.7573 GB, free: 112.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03867/1.838, allocations: 8.973 MB / 0.7661 GB, free: 112.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001595/1.839, allocations: 156.7 kB / 0.7663 GB, free: 112.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0758/1.915, allocations: 33.17 MB / 0.7987 GB, free: 102 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/1.915, allocations: 1 kB / 0.7987 GB, free: 102 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07651/1.992, allocations: 19.77 MB / 0.818 GB, free: 95.17 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003384/1.995, allocations: 1.222 MB / 0.8191 GB, free: 94.37 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00131/1.996, allocations: 118.9 kB / 0.8193 GB, free: 94.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005704/2.002, allocations: 448.6 kB / 0.8197 GB, free: 94.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00189/2.004, allocations: 404.4 kB / 0.8201 GB, free: 94.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005384/2.005, allocations: 152 kB / 0.8202 GB, free: 94.15 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004628/2.009, allocations: 2.236 MB / 0.8224 GB, free: 93.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.61e-07/2.009, allocations: 0 / 0.8224 GB, free: 93.43 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.009786/2.019, allocations: 2.874 MB / 0.8252 GB, free: 93.13 MB / 462.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: 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 (259): * Single equations (assignments): 257 * 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.0006211/2.02, allocations: 231.1 kB / 0.8254 GB, free: 92.95 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.03998/2.06, allocations: 19.15 MB / 0.8441 GB, free: 80.67 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/2.06, allocations: 8.25 kB / 0.8441 GB, free: 80.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01157/2.071, allocations: 5.576 MB / 0.8496 GB, free: 75.62 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003497/2.075, allocations: 0.5528 MB / 0.8501 GB, free: 75.16 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02129/2.096, allocations: 12.65 MB / 0.8625 GB, free: 63.16 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001794/2.098, allocations: 2.455 MB / 0.8649 GB, free: 60.68 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0027/2.101, allocations: 0.5917 MB / 0.8654 GB, free: 60.08 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008481/2.101, allocations: 191.4 kB / 0.8656 GB, free: 59.89 MB / 462.1 MB Notification: Performance of SimCode: time 1.223e-06/2.101, allocations: 0 / 0.8656 GB, free: 59.89 MB / 462.1 MB Notification: Performance of Templates: time 0.4536/2.555, allocations: 193.1 MB / 1.054 GB, free: 27.45 MB / 462.1 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)