Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002568/0.002568, allocations: 363.4 kB / 17.22 MB, free: 4.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.794/3.794, allocations: 388.9 MB / 406.8 MB, free: 11.91 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.005272/0.005272, allocations: 237.5 kB / 452.2 MB, free: 14.51 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7434/0.7434, allocations: 76.02 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004577/0.0004579, allocations: 16 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09186/0.09234, allocations: 53.23 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurboGeneratorLine): time 0.01347/0.1059, allocations: 10.89 MB / 0.6849 GB, free: 49.89 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.008769/0.1147, allocations: 4.163 MB / 0.6889 GB, free: 45.71 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001447/0.1162, allocations: 71.5 kB / 0.689 GB, free: 45.64 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.1174, allocations: 329.7 kB / 0.6893 GB, free: 45.32 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003315/0.1207, allocations: 0.9328 MB / 0.6902 GB, free: 44.38 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002399/0.1231, allocations: 0.5729 MB / 0.6908 GB, free: 43.8 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00362/0.1268, allocations: 2.396 MB / 0.6931 GB, free: 41.4 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003076/0.1299, allocations: 1.508 MB / 0.6946 GB, free: 39.84 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00125/0.1312, allocations: 0.6533 MB / 0.6952 GB, free: 39.18 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001553/0.1327, allocations: 0.9346 MB / 0.6962 GB, free: 38.25 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001901/0.1329, allocations: 60 kB / 0.6962 GB, free: 38.19 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.1341, allocations: 431.1 kB / 0.6966 GB, free: 37.77 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006451/0.1348, allocations: 0.6312 MB / 0.6972 GB, free: 37.13 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003897/0.1352, allocations: 297 kB / 0.6975 GB, free: 36.84 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002144/0.1373, allocations: 1.75 MB / 0.6992 GB, free: 35.08 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.1374, allocations: 4 kB / 0.6992 GB, free: 35.08 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1374, allocations: 4 kB / 0.6992 GB, free: 35.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.172e-05/0.1374, allocations: 0 / 0.6992 GB, free: 35.07 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.004058/0.1415, allocations: 1.536 MB / 0.7007 GB, free: 33.48 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.1415, allocations: 8.031 kB / 0.7007 GB, free: 33.47 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002562/0.1441, allocations: 301.8 kB / 0.701 GB, free: 33.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0029/0.147, allocations: 1.012 MB / 0.702 GB, free: 32.12 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-05/0.1472, allocations: 90.33 kB / 0.7021 GB, free: 32.03 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000503/0.1477, allocations: 155.9 kB / 0.7023 GB, free: 31.88 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003648/0.1513, allocations: 1.689 MB / 0.7039 GB, free: 30.12 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.243e-05/0.1514, allocations: 3.906 kB / 0.7039 GB, free: 30.11 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001717/0.1516, allocations: 48 kB / 0.704 GB, free: 30.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004977/0.1521, allocations: 106.3 kB / 0.7041 GB, free: 29.96 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003415/0.1556, allocations: 1.426 MB / 0.7054 GB, free: 28.53 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01128/0.1669, allocations: 6.08 MB / 0.7114 GB, free: 22.11 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.1684, allocations: 0.6659 MB / 0.712 GB, free: 21.42 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.1695, allocations: 472.3 kB / 0.7125 GB, free: 20.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.111e-05/0.1696, allocations: 12.66 kB / 0.7125 GB, free: 20.94 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.1696, allocations: 43.2 kB / 0.7125 GB, free: 20.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=73): time 4.278e-06/0.1696, allocations: 0 / 0.7125 GB, free: 20.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=84): time 0.01514/0.1848, allocations: 4.577 MB / 0.717 GB, free: 16.17 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.1849, allocations: 170.9 kB / 0.7172 GB, free: 15.96 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.1861, allocations: 0.8216 MB / 0.718 GB, free: 15.13 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001274/0.1863, allocations: 41.7 kB / 0.718 GB, free: 15.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004264/0.1867, allocations: 0.635 MB / 0.7186 GB, free: 14.44 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002915/0.187, allocations: 299.7 kB / 0.7189 GB, free: 14.14 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.57e-05/0.1871, allocations: 24 kB / 0.7189 GB, free: 14.12 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.995e-05/0.1872, allocations: 349.9 kB / 0.7193 GB, free: 13.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001145/0.1884, allocations: 486.3 kB / 0.7197 GB, free: 13.3 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.1897, allocations: 0.7658 MB / 0.7205 GB, free: 12.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.1911, allocations: 0.6042 MB / 0.7211 GB, free: 11.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.1911, allocations: 3.953 kB / 0.7211 GB, free: 11.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.005648/0.1968, allocations: 1.905 MB / 0.7229 GB, free: 9.875 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001709/0.197, allocations: 340.2 kB / 0.7233 GB, free: 9.426 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004771/0.2018, allocations: 1.503 MB / 0.7247 GB, free: 7.906 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003209/0.205, allocations: 0.5622 MB / 0.7253 GB, free: 7.328 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002949/0.208, allocations: 491.4 kB / 0.7257 GB, free: 6.848 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3076/0.5157, allocations: 13.22 MB / 0.7387 GB, free: 120 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.5172, allocations: 70.25 kB / 0.7387 GB, free: 120 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/0.5173, allocations: 45.61 kB / 0.7388 GB, free: 120 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.5174, allocations: 8.625 kB / 0.7388 GB, free: 120 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005735/0.5231, allocations: 1.725 MB / 0.7405 GB, free: 119.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00495/0.5281, allocations: 1.446 MB / 0.7419 GB, free: 119.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003422/0.5316, allocations: 0.5716 MB / 0.7424 GB, free: 119.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001469/0.5331, allocations: 220 kB / 0.7426 GB, free: 119.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01596/0.5491, allocations: 10.17 MB / 0.7526 GB, free: 111.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.5505, allocations: 54.59 kB / 0.7526 GB, free: 111.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/0.5506, allocations: 48.31 kB / 0.7527 GB, free: 111.9 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.001075/0.5517, allocations: 0.5019 MB / 0.7532 GB, free: 111.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002919/0.552, allocations: 102.2 kB / 0.7533 GB, free: 111.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004353/0.5564, allocations: 1.423 MB / 0.7547 GB, free: 111 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.991e-05/0.5565, allocations: 8.219 kB / 0.7547 GB, free: 111 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.5565, allocations: 0.9375 kB / 0.7547 GB, free: 111 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007167/0.5572, allocations: 263.1 kB / 0.7549 GB, free: 110.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002722/0.5575, allocations: 28.05 kB / 0.7549 GB, free: 110.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.5586, allocations: 50.78 kB / 0.755 GB, free: 110.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002115/0.5588, allocations: 67.25 kB / 0.7551 GB, free: 110.8 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00641/0.5652, allocations: 1.783 MB / 0.7568 GB, free: 110.1 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004087/0.5694, allocations: 1.92 MB / 0.7587 GB, free: 109.2 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001219/0.5706, allocations: 0.4934 MB / 0.7592 GB, free: 109 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001165/0.5718, allocations: 0.5598 MB / 0.7597 GB, free: 108.8 MB / 442.7 MB Notification: Performance of Backend: time 5.21e-07/0.5718, allocations: 0 / 0.7597 GB, free: 108.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009984/0.5818, allocations: 3.364 MB / 0.763 GB, free: 106.9 MB / 442.7 MB Notification: Performance of SimCode: time 0.007857/0.5898, allocations: 3.994 MB / 0.7669 GB, free: 104.6 MB / 442.7 MB Notification: Performance of Templates: time 0.05894/0.6487, allocations: 24.04 MB / 0.7904 GB, free: 95.86 MB / 442.7 MB