Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Transformer.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.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Transformer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002541/0.002541, allocations: 365.8 kB / 17.22 MB, free: 4.922 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.826/3.826, allocations: 388.9 MB / 406.8 MB, free: 11.92 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.003559/0.003559, allocations: 233.2 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.7475/0.7475, allocations: 76 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004672/0.0004674, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09099/0.09149, allocations: 53.23 MB / 0.6742 GB, free: 60.8 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.008124/0.09966, allocations: 6.744 MB / 0.6808 GB, free: 54.03 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.005975/0.1057, allocations: 2.631 MB / 0.6834 GB, free: 51.39 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009419/0.1067, allocations: 39.69 kB / 0.6834 GB, free: 51.35 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006686/0.1074, allocations: 178.8 kB / 0.6836 GB, free: 51.18 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002319/0.1097, allocations: 0.696 MB / 0.6843 GB, free: 50.48 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001641/0.1114, allocations: 407.1 kB / 0.6847 GB, free: 50.08 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002173/0.1136, allocations: 1.731 MB / 0.6863 GB, free: 48.34 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001608/0.1153, allocations: 0.7062 MB / 0.687 GB, free: 47.6 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.1164, allocations: 477.8 kB / 0.6875 GB, free: 47.13 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001504/0.1179, allocations: 0.7946 MB / 0.6883 GB, free: 46.34 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.1181, allocations: 40 kB / 0.6883 GB, free: 46.3 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006489/0.1188, allocations: 187.6 kB / 0.6885 GB, free: 46.11 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005295/0.1193, allocations: 494.8 kB / 0.689 GB, free: 45.63 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002728/0.1196, allocations: 205.1 kB / 0.6892 GB, free: 45.42 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.1208, allocations: 0.9898 MB / 0.6901 GB, free: 44.43 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1208, allocations: 0 / 0.6901 GB, free: 44.43 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1208, allocations: 0 / 0.6901 GB, free: 44.43 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.1208, allocations: 0 / 0.6901 GB, free: 44.43 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.003013/0.1238, allocations: 1.139 MB / 0.6912 GB, free: 43.23 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.1239, allocations: 16.02 kB / 0.6912 GB, free: 43.21 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001657/0.1256, allocations: 206.5 kB / 0.6914 GB, free: 43.01 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/0.1273, allocations: 0.6619 MB / 0.6921 GB, free: 42.31 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.294e-05/0.1274, allocations: 57.98 kB / 0.6921 GB, free: 42.25 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002966/0.1277, allocations: 95.94 kB / 0.6922 GB, free: 42.16 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002683/0.1304, allocations: 1.376 MB / 0.6936 GB, free: 40.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.316e-05/0.1305, allocations: 7.938 kB / 0.6936 GB, free: 40.67 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/0.1306, allocations: 32 kB / 0.6936 GB, free: 40.64 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004377/0.1311, allocations: 117.9 kB / 0.6937 GB, free: 40.52 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00246/0.1335, allocations: 1.077 MB / 0.6948 GB, free: 39.45 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008614/0.1422, allocations: 5.946 MB / 0.7006 GB, free: 33.19 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.1437, allocations: 0.6982 MB / 0.7013 GB, free: 32.46 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006342/0.1444, allocations: 319.2 kB / 0.7016 GB, free: 32.14 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.203e-05/0.1444, allocations: 16.53 kB / 0.7016 GB, free: 32.12 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008387/0.1453, allocations: 468.6 kB / 0.702 GB, free: 31.63 MB / 442.7 MB Notification: Performance of pre-optimization done (n=65): time 4.038e-06/0.1453, allocations: 0 / 0.702 GB, free: 31.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=66): time 0.004439/0.1498, allocations: 2.133 MB / 0.7041 GB, free: 29.43 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.1499, allocations: 170.8 kB / 0.7043 GB, free: 29.22 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008658/0.1507, allocations: 0.6327 MB / 0.7049 GB, free: 28.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.016e-05/0.1508, allocations: 37.7 kB / 0.7049 GB, free: 28.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003692/0.1512, allocations: 0.525 MB / 0.7054 GB, free: 28.01 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/0.1514, allocations: 236.8 kB / 0.7057 GB, free: 27.77 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.229e-05/0.1515, allocations: 20 kB / 0.7057 GB, free: 27.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1516, allocations: 390.8 kB / 0.7061 GB, free: 27.36 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007391/0.1524, allocations: 334.4 kB / 0.7064 GB, free: 27.04 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009317/0.1533, allocations: 0.762 MB / 0.7071 GB, free: 26.07 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000978/0.1543, allocations: 499.5 kB / 0.7076 GB, free: 25.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/0.1543, allocations: 8 kB / 0.7076 GB, free: 25.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003499/0.1579, allocations: 1.431 MB / 0.709 GB, free: 24.12 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.858e-05/0.1579, allocations: 41.69 kB / 0.7091 GB, free: 24.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002102/0.1601, allocations: 0.7745 MB / 0.7098 GB, free: 23.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/0.1612, allocations: 253.5 kB / 0.71 GB, free: 23.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.1625, allocations: 219.6 kB / 0.7103 GB, free: 22.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005478/0.168, allocations: 4.029 MB / 0.7142 GB, free: 18.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.1691, allocations: 59.88 kB / 0.7142 GB, free: 18.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.1692, allocations: 63.97 kB / 0.7143 GB, free: 18.39 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * 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: 2 {(2,100.0%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006618/0.1699, allocations: 402.9 kB / 0.7147 GB, free: 17.98 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001309/0.17, allocations: 71.16 kB / 0.7148 GB, free: 17.91 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/0.1719, allocations: 0.8438 MB / 0.7156 GB, free: 17.05 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.172, allocations: 0 / 0.7156 GB, free: 17.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.172, allocations: 3.984 kB / 0.7156 GB, free: 17.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003864/0.1724, allocations: 196.1 kB / 0.7158 GB, free: 16.84 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/0.1725, allocations: 16 kB / 0.7158 GB, free: 16.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005854/0.1731, allocations: 31.97 kB / 0.7158 GB, free: 16.79 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.1732, allocations: 52.39 kB / 0.7159 GB, free: 16.74 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002536/0.1758, allocations: 1.042 MB / 0.7169 GB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002489/0.1783, allocations: 1.455 MB / 0.7183 GB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007165/0.1791, allocations: 368.3 kB / 0.7187 GB, free: 13.83 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006214/0.1797, allocations: 423 kB / 0.7191 GB, free: 13.42 MB / 442.7 MB Notification: Performance of Backend: time 7.11e-07/0.1797, allocations: 0 / 0.7191 GB, free: 13.42 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002788/0.1825, allocations: 1.07 MB / 0.7201 GB, free: 12.31 MB / 442.7 MB Notification: Performance of SimCode: time 0.004407/0.187, allocations: 2.654 MB / 0.7227 GB, free: 9.598 MB / 442.7 MB Notification: Performance of Templates: time 0.3297/0.5167, allocations: 9.775 MB / 0.7322 GB, free: 128.2 MB / 442.7 MB