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.0009076/0.0009078, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008451/0.008451, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.478/1.478, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObjectStab 2.0.0-master/package.mo): time 0.1825/0.1825, allocations: 6.928 MB / 298.4 MB, free: 3.363 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003609, allocations: 8.281 kB / 361.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1149, allocations: 52.07 MB / 413.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ObjectStab.Examples.KundurHJW.Lineopen): time 0.2601/0.3751, allocations: 12.36 MB / 425.6 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009243/0.3844, allocations: 4.599 MB / 430.2 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003607/0.388, allocations: 41 kB / 430.2 MB, free: 35.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001863/0.3899, allocations: 0.4906 MB / 430.7 MB, free: 35.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004938/0.3949, allocations: 1.141 MB / 431.9 MB, free: 34.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005684/0.4006, allocations: 2.981 MB / 434.9 MB, free: 33.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00905/0.4097, allocations: 6.62 MB / 441.5 MB, free: 30.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002122/0.4118, allocations: 1.184 MB / 442.7 MB, free: 30.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004778/0.4166, allocations: 2.347 MB / 445 MB, free: 29.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005532/0.4222, allocations: 3.171 MB / 448.2 MB, free: 28.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00204/0.4242, allocations: 283.1 kB / 448.5 MB, free: 28.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001408/0.4257, allocations: 282.4 kB / 448.7 MB, free: 28.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00104/0.4267, allocations: 1.107 MB / 449.8 MB, free: 28.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002296/0.429, allocations: 1.91 MB / 451.8 MB, free: 26.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004859/0.4339, allocations: 5.444 MB / 457.2 MB, free: 25.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4339, allocations: 3.344 kB / 457.2 MB, free: 25.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.447e-06/0.4339, allocations: 0 / 457.2 MB, free: 25.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000191/0.4341, allocations: 0 / 457.2 MB, free: 25.31 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.02178/0.4559, allocations: 5.457 MB / 462.7 MB, free: 23.26 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/0.456, allocations: 8.688 kB / 462.7 MB, free: 23.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002868/0.4588, allocations: 418.5 kB / 463.1 MB, free: 23.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008564/0.4674, allocations: 2.887 MB / 466 MB, free: 21.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006389/0.4681, allocations: 379.1 kB / 466.3 MB, free: 21.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002009/0.4701, allocations: 293.1 kB / 466.6 MB, free: 21.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01372/0.4839, allocations: 3.63 MB / 470.2 MB, free: 19.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001553/0.4841, allocations: 0 / 470.2 MB, free: 19.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001371/0.4855, allocations: 103.4 kB / 470.3 MB, free: 19.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.864e-05/0.4856, allocations: 61.88 kB / 470.4 MB, free: 19.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01153/0.4971, allocations: 3.998 MB / 474.4 MB, free: 17.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03535/0.5325, allocations: 12.14 MB / 486.5 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01236/0.5449, allocations: 5.571 MB / 492.1 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004575/0.5496, allocations: 2.14 MB / 494.3 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006673/0.5503, allocations: 56.45 kB / 494.3 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005452/0.5557, allocations: 2.252 MB / 496.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=335): time 7.313e-06/0.5558, allocations: 0 / 496.6 MB, free: 1.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=477): time 0.2971/0.8529, allocations: 50.48 MB / 0.5342 GB, free: 15.24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002251/0.8532, allocations: 419.6 kB / 0.5346 GB, free: 14.74 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008438/0.8616, allocations: 3.081 MB / 0.5376 GB, free: 11.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.002257/0.8639, allocations: 110.7 kB / 0.5377 GB, free: 11.53 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001349/0.8653, allocations: 1.273 MB / 0.539 GB, free: 10.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00344/0.8688, allocations: 1.63 MB / 0.5406 GB, free: 8.629 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001979/0.8708, allocations: 371.3 kB / 0.5409 GB, free: 8.258 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.8709, allocations: 301.1 kB / 0.5412 GB, free: 7.961 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007264/0.8782, allocations: 3.019 MB / 0.5442 GB, free: 4.934 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00758/0.8858, allocations: 3.595 MB / 0.5477 GB, free: 1.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01494/0.9007, allocations: 6.754 MB / 0.5543 GB, free: 10.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.699e-05/0.9008, allocations: 8 kB / 0.5543 GB, free: 10.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=569) (initialization): time 0.09634/0.9971, allocations: 16.98 MB / 0.5709 GB, free: 9.164 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002771/0.9974, allocations: 326.6 kB / 0.5712 GB, free: 8.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.501e-05/0.9975, allocations: 11.94 kB / 0.5712 GB, free: 8.719 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3622/1.36, allocations: 11.16 MB / 0.5821 GB, free: 118.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007137/1.367, allocations: 1.766 MB / 0.5838 GB, free: 118.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1209/1.488, allocations: 65.1 MB / 0.6474 GB, free: 78.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00896/1.497, allocations: 467.1 kB / 0.6478 GB, free: 78.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001938/1.499, allocations: 158.1 kB / 0.648 GB, free: 78.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/1.499, allocations: 3.562 kB / 0.648 GB, free: 78.07 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08368/1.583, allocations: 16.28 MB / 0.6639 GB, free: 73.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.562e-05/1.583, allocations: 8.375 kB / 0.6639 GB, free: 73.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05161/1.634, allocations: 11.18 MB / 0.6748 GB, free: 66.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00372/1.638, allocations: 0.7022 MB / 0.6755 GB, free: 65.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1044/1.743, allocations: 52.73 MB / 0.727 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008494/1.751, allocations: 387.7 kB / 0.7274 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001714/1.753, allocations: 151.9 kB / 0.7275 GB, free: 11.21 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 (L78_1.B2.closed,L78_1.B1.closed,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 (314): * Single equations (assignments): 295 * 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%), (14,100,68.4%)} * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(6,5), (6,5), (6,5), (6,5), (21,73)} Notification: Performance of prepare postOptimizeDAE: time 0.003604/1.756, allocations: 0.8666 MB / 0.7283 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001421/1.758, allocations: 363.4 kB / 0.7287 GB, free: 9.984 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0733/1.831, allocations: 15.91 MB / 0.7442 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.056e-05/1.831, allocations: 48 kB / 0.7443 GB, free: 9.988 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.976e-05/1.831, allocations: 27.94 kB / 0.7443 GB, free: 9.961 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000186/1.832, allocations: 27.91 kB / 0.7443 GB, free: 9.934 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.382/2.214, allocations: 22.77 MB / 0.7666 GB, free: 117.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.245e-05/2.214, allocations: 3.094 kB / 0.7666 GB, free: 117.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003405/2.217, allocations: 495 kB / 0.7671 GB, free: 117.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04454/2.262, allocations: 8.988 MB / 0.7758 GB, free: 117.8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001906/2.264, allocations: 155.5 kB / 0.776 GB, free: 117.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08257/2.346, allocations: 33.23 MB / 0.8084 GB, free: 104.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/2.346, allocations: 0 / 0.8084 GB, free: 104.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08451/2.431, allocations: 19.82 MB / 0.8278 GB, free: 97.58 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005228/2.436, allocations: 1.218 MB / 0.829 GB, free: 96.78 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001917/2.438, allocations: 117.8 kB / 0.8291 GB, free: 96.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007235/2.445, allocations: 448 kB / 0.8295 GB, free: 96.61 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002878/2.448, allocations: 404.6 kB / 0.8299 GB, free: 96.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006113/2.449, allocations: 149 kB / 0.83 GB, free: 96.33 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005828/2.455, allocations: 2.257 MB / 0.8322 GB, free: 94.47 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.81e-07/2.455, allocations: 1.031 kB / 0.8322 GB, free: 94.47 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01367/2.468, allocations: 2.875 MB / 0.8351 GB, free: 91.6 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 (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 {(14,100,63.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(14,100)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001164/2.47, allocations: 225 kB / 0.8353 GB, free: 91.37 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.04968/2.519, allocations: 19.29 MB / 0.8541 GB, free: 71.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/2.519, allocations: 0 / 0.8541 GB, free: 71.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01534/2.535, allocations: 5.59 MB / 0.8596 GB, free: 66.19 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007763/2.543, allocations: 0.5735 MB / 0.8601 GB, free: 65.63 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0311/2.574, allocations: 13.06 MB / 0.8729 GB, free: 52.63 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003419/2.577, allocations: 2.455 MB / 0.8753 GB, free: 50.15 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00425/2.581, allocations: 0.5839 MB / 0.8758 GB, free: 49.56 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001287/2.583, allocations: 187.4 kB / 0.876 GB, free: 49.38 MB / 462.1 MB Notification: Performance of SimCode: time 1.082e-06/2.583, allocations: 0 / 0.876 GB, free: 49.38 MB / 462.1 MB Notification: Performance of Templates: time 0.5406/3.123, allocations: 198.1 MB / 1.069 GB, free: 7.953 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)