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 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.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.001053/0.001053, allocations: 92 kB / 15.36 MB, free: 0.7383 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.008087/0.008087, allocations: 170.6 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 2.0.0-master/package.mo): time 0.1722/0.1722, allocations: 6.917 MB / 298.4 MB, free: 3.312 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004465/0.0004466, allocations: 8 kB / 361.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1415, allocations: 52.06 MB / 413.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ObjectStab.Examples.KundurHJW.System): time 0.263/0.4045, allocations: 11.49 MB / 424.7 MB, free: 34.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008461/0.413, allocations: 4.416 MB / 429.2 MB, free: 34.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002953/0.416, allocations: 33.91 kB / 429.2 MB, free: 34.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.4174, allocations: 479.8 kB / 429.7 MB, free: 34.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003677/0.4211, allocations: 1.097 MB / 430.8 MB, free: 34.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005351/0.4265, allocations: 2.823 MB / 433.6 MB, free: 33.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007725/0.4342, allocations: 6.319 MB / 439.9 MB, free: 30.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001482/0.4357, allocations: 1.061 MB / 441 MB, free: 30.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003809/0.4395, allocations: 2.232 MB / 443.2 MB, free: 29.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004236/0.4438, allocations: 3.01 MB / 446.2 MB, free: 28.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001056/0.4449, allocations: 265.1 kB / 446.5 MB, free: 28.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000736/0.4456, allocations: 263.1 kB / 446.7 MB, free: 28.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008927/0.4465, allocations: 1.048 MB / 447.8 MB, free: 28.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001748/0.4483, allocations: 1.807 MB / 449.6 MB, free: 27.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00407/0.4523, allocations: 5.115 MB / 454.7 MB, free: 25.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.4524, allocations: 0 / 454.7 MB, free: 25.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4524, allocations: 3.938 kB / 454.7 MB, free: 25.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001445/0.4525, allocations: 3.281 kB / 454.7 MB, free: 25.81 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: 600 * Number of variables: 600 Notification: Performance of Generate backend data structure: time 0.0213/0.4738, allocations: 5.267 MB / 460 MB, free: 23.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/0.4739, allocations: 9.891 kB / 460 MB, free: 23.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002495/0.4764, allocations: 393.9 kB / 460.4 MB, free: 23.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007905/0.4843, allocations: 2.786 MB / 463.1 MB, free: 22.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000303/0.4847, allocations: 309 kB / 463.4 MB, free: 22.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009163/0.4856, allocations: 273.4 kB / 463.7 MB, free: 21.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007459/0.4931, allocations: 3.396 MB / 467.1 MB, free: 20.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.414e-05/0.4931, allocations: 0 / 467.1 MB, free: 20.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003508/0.4935, allocations: 97.41 kB / 467.2 MB, free: 20.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-05/0.4936, allocations: 56.12 kB / 467.3 MB, free: 20.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008686/0.5023, allocations: 3.866 MB / 471.1 MB, free: 18.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02626/0.5286, allocations: 11.35 MB / 482.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01113/0.5398, allocations: 5.409 MB / 487.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004395/0.5442, allocations: 2.048 MB / 489.9 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006072/0.5448, allocations: 60.06 kB / 490 MB, free: 7.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005452/0.5503, allocations: 2.199 MB / 492.2 MB, free: 5.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=323): time 7.955e-06/0.5504, allocations: 0 / 492.2 MB, free: 5.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=455): time 0.3069/0.8573, allocations: 50.44 MB / 0.5299 GB, free: 2.895 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002458/0.8576, allocations: 411.4 kB / 0.5303 GB, free: 2.406 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009221/0.8668, allocations: 3.015 MB / 0.5332 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002907/0.8698, allocations: 113.7 kB / 0.5334 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001643/0.8714, allocations: 1.178 MB / 0.5345 GB, free: 14.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.003679/0.8752, allocations: 1.566 MB / 0.536 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002494/0.8777, allocations: 350.9 kB / 0.5364 GB, free: 12.17 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.8778, allocations: 305.1 kB / 0.5367 GB, free: 11.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007641/0.8855, allocations: 2.917 MB / 0.5395 GB, free: 8.941 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008116/0.8936, allocations: 3.45 MB / 0.5429 GB, free: 5.344 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01647/0.9101, allocations: 6.528 MB / 0.5492 GB, free: 14.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.429e-05/0.9102, allocations: 0 / 0.5492 GB, free: 14.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=543) (initialization): time 0.1033/1.013, allocations: 16.72 MB / 0.5656 GB, free: 13.83 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003204/1.014, allocations: 297.5 kB / 0.5659 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.559e-05/1.014, allocations: 4 kB / 0.5659 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05869/1.073, allocations: 11.07 MB / 0.5767 GB, free: 2.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007538/1.08, allocations: 1.762 MB / 0.5784 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4114/1.492, allocations: 63.02 MB / 0.6399 GB, free: 80.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008433/1.5, allocations: 462.5 kB / 0.6404 GB, free: 80.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00154/1.502, allocations: 154.9 kB / 0.6405 GB, free: 80.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/1.502, allocations: 3.688 kB / 0.6405 GB, free: 80.22 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09247/1.594, allocations: 16.02 MB / 0.6562 GB, free: 75.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.741e-05/1.594, allocations: 3.844 kB / 0.6562 GB, free: 75.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05576/1.65, allocations: 11.09 MB / 0.667 GB, free: 73.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003811/1.654, allocations: 0.6924 MB / 0.6677 GB, free: 73.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1068/1.761, allocations: 50.65 MB / 0.7171 GB, free: 21.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008291/1.769, allocations: 383.6 kB / 0.7175 GB, free: 20.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001814/1.771, allocations: 151.9 kB / 0.7177 GB, free: 20.59 MB / 446.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 (G4.online,G3.online,G2.online,G1.online,$whenCondition1) * 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 (not torn): 9 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (12,92,61.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(6,5), (6,5), (6,5), (6,5), (19,65)} Notification: Performance of prepare postOptimizeDAE: time 0.00446/1.775, allocations: 0.8188 MB / 0.7185 GB, free: 19.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002182/1.778, allocations: 347.7 kB / 0.7188 GB, free: 19.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07774/1.855, allocations: 15.61 MB / 0.734 GB, free: 3.773 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.465e-05/1.856, allocations: 44 kB / 0.7341 GB, free: 3.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.305e-05/1.856, allocations: 23.94 kB / 0.7341 GB, free: 3.707 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001514/1.856, allocations: 19.92 kB / 0.7341 GB, free: 3.688 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4058/2.262, allocations: 22.05 MB / 0.7556 GB, free: 113.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.975e-05/2.262, allocations: 1.031 kB / 0.7556 GB, free: 113.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003515/2.265, allocations: 495.8 kB / 0.7561 GB, free: 113.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0458/2.311, allocations: 8.947 MB / 0.7649 GB, free: 113.3 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002652/2.314, allocations: 151.4 kB / 0.765 GB, free: 113.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09804/2.412, allocations: 31.34 MB / 0.7956 GB, free: 103.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/2.412, allocations: 0.6562 kB / 0.7956 GB, free: 103.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09877/2.511, allocations: 19.37 MB / 0.8145 GB, free: 96.91 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00471/2.515, allocations: 1.184 MB / 0.8157 GB, free: 96.13 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002903/2.518, allocations: 114.2 kB / 0.8158 GB, free: 96.06 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008435/2.527, allocations: 444.5 kB / 0.8162 GB, free: 96 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004939/2.532, allocations: 385.7 kB / 0.8166 GB, free: 95.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002007/2.534, allocations: 137.6 kB / 0.8167 GB, free: 95.92 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.008153/2.542, allocations: 2.218 MB / 0.8189 GB, free: 95.21 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.61e-07/2.542, allocations: 0 / 0.8189 GB, free: 95.21 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01844/2.561, allocations: 2.753 MB / 0.8216 GB, free: 94.93 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: 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(12,92,61.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,92)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001952/2.563, allocations: 220.8 kB / 0.8218 GB, free: 94.76 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.05343/2.616, allocations: 18.55 MB / 0.8399 GB, free: 83.88 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/2.616, allocations: 4 kB / 0.8399 GB, free: 83.87 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01589/2.632, allocations: 5.315 MB / 0.8451 GB, free: 79.06 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00828/2.64, allocations: 0.5508 MB / 0.8456 GB, free: 78.61 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03001/2.67, allocations: 12.6 MB / 0.8579 GB, free: 67.18 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003231/2.674, allocations: 2.365 MB / 0.8602 GB, free: 64.78 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004625/2.678, allocations: 0.5749 MB / 0.8608 GB, free: 64.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001857/2.68, allocations: 183.4 kB / 0.861 GB, free: 64.02 MB / 462.1 MB Notification: Performance of SimCode: time 2.194e-06/2.68, allocations: 0 / 0.861 GB, free: 64.02 MB / 462.1 MB Notification: Performance of Templates: time 0.5711/3.251, allocations: 193.7 MB / 1.05 GB, free: 28.21 MB / 462.1 MB make -j1 -f ObjectStab_ObjectStab.Examples.KundurHJW.System.makefile (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)