Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Line.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.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Line") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002352/0.002356, allocations: 353.3 kB / 16.57 MB, free: 5.59 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.29/3.29, allocations: 388.9 MB / 406.2 MB, free: 12.02 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.003164/0.003164, allocations: 227.9 kB / 451.6 MB, free: 14.61 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.6181/0.6181, allocations: 76 MB / 0.5594 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00048/0.0004802, allocations: 8 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06557/0.06608, allocations: 53.24 MB / 0.6736 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.004859/0.07098, allocations: 5.313 MB / 0.6788 GB, free: 55.48 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002659/0.07365, allocations: 1.926 MB / 0.6807 GB, free: 53.55 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002656/0.07394, allocations: 31.75 kB / 0.6807 GB, free: 53.52 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003057/0.07426, allocations: 131.1 kB / 0.6808 GB, free: 53.39 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006441/0.07492, allocations: 342.1 kB / 0.6812 GB, free: 53.05 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007966/0.07573, allocations: 347.2 kB / 0.6815 GB, free: 52.71 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006601/0.07641, allocations: 0.8649 MB / 0.6823 GB, free: 51.85 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008605/0.07729, allocations: 0.5669 MB / 0.6829 GB, free: 51.25 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002956/0.0776, allocations: 274.8 kB / 0.6832 GB, free: 50.98 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005138/0.07813, allocations: 458.7 kB / 0.6836 GB, free: 50.53 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.797e-05/0.07821, allocations: 28 kB / 0.6836 GB, free: 50.5 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002488/0.07847, allocations: 115.7 kB / 0.6837 GB, free: 50.39 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002055/0.07869, allocations: 263.3 kB / 0.684 GB, free: 50.13 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.07882, allocations: 133.4 kB / 0.6841 GB, free: 49.99 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005067/0.07934, allocations: 0.604 MB / 0.6847 GB, free: 49.39 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.71e-06/0.07936, allocations: 0 / 0.6847 GB, free: 49.39 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.757e-06/0.07937, allocations: 0 / 0.6847 GB, free: 49.39 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.482e-06/0.07939, allocations: 0 / 0.6847 GB, free: 49.39 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001335/0.08073, allocations: 0.8083 MB / 0.6855 GB, free: 48.53 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.08079, allocations: 8.828 kB / 0.6855 GB, free: 48.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.08185, allocations: 143 kB / 0.6856 GB, free: 48.38 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007997/0.08267, allocations: 0.5031 MB / 0.6861 GB, free: 47.83 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.428e-05/0.08272, allocations: 40.92 kB / 0.6862 GB, free: 47.79 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003731/0.0831, allocations: 131.8 kB / 0.6863 GB, free: 47.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.08423, allocations: 0.847 MB / 0.6871 GB, free: 46.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/0.08428, allocations: 11.94 kB / 0.6871 GB, free: 46.74 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.467e-05/0.08435, allocations: 19.98 kB / 0.6871 GB, free: 46.72 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004709/0.08483, allocations: 68.94 kB / 0.6872 GB, free: 46.65 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.08591, allocations: 0.6127 MB / 0.6878 GB, free: 46.04 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004138/0.09006, allocations: 3.788 MB / 0.6915 GB, free: 42.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.09123, allocations: 0.5423 MB / 0.692 GB, free: 41.52 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004682/0.09171, allocations: 315 kB / 0.6923 GB, free: 41.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.357e-05/0.09177, allocations: 8.438 kB / 0.6923 GB, free: 41.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.0918, allocations: 43 kB / 0.6924 GB, free: 41.15 MB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 2.828e-06/0.09182, allocations: 0 / 0.6924 GB, free: 41.15 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.003005/0.09483, allocations: 1.833 MB / 0.6942 GB, free: 39.27 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.09488, allocations: 81.55 kB / 0.6943 GB, free: 39.17 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003791/0.09527, allocations: 417.8 kB / 0.6947 GB, free: 38.75 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.44e-05/0.09532, allocations: 37.83 kB / 0.6947 GB, free: 38.71 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.09552, allocations: 327.7 kB / 0.695 GB, free: 38.39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001447/0.09568, allocations: 205.1 kB / 0.6952 GB, free: 38.18 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.09574, allocations: 8 kB / 0.6952 GB, free: 38.18 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.09586, allocations: 374.8 kB / 0.6956 GB, free: 37.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006455/0.09652, allocations: 369.5 kB / 0.6959 GB, free: 37.44 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006955/0.09722, allocations: 0.594 MB / 0.6965 GB, free: 36.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006879/0.09792, allocations: 477.8 kB / 0.697 GB, free: 36.28 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.09e-06/0.09794, allocations: 0 / 0.697 GB, free: 36.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004422/0.1024, allocations: 1.992 MB / 0.6989 GB, free: 34.27 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1024, allocations: 8 kB / 0.6989 GB, free: 34.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.1024, allocations: 8 kB / 0.6989 GB, free: 34.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002524/0.105, allocations: 0.9546 MB / 0.6998 GB, free: 33.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004741/0.1055, allocations: 119.8 kB / 0.7 GB, free: 33.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01007/0.1155, allocations: 7.368 MB / 0.7072 GB, free: 25.54 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004779/0.116, allocations: 35.97 kB / 0.7072 GB, free: 25.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-05/0.1161, allocations: 35.98 kB / 0.7072 GB, free: 25.47 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (60): * Single equations (assignments): 58 * 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: 2 {(1,100.0%) 6,(23,24.6%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003316/0.1165, allocations: 249.6 kB / 0.7075 GB, free: 25.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.1166, allocations: 51.39 kB / 0.7075 GB, free: 25.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/0.1179, allocations: 0.7257 MB / 0.7082 GB, free: 24.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.578e-06/0.1179, allocations: 8 kB / 0.7082 GB, free: 24.42 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-06/0.1179, allocations: 4 kB / 0.7082 GB, free: 24.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.863e-06/0.1179, allocations: 7.984 kB / 0.7082 GB, free: 24.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002582/0.1205, allocations: 1.521 MB / 0.7097 GB, free: 22.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.1205, allocations: 0 / 0.7097 GB, free: 22.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/0.1218, allocations: 187.8 kB / 0.7099 GB, free: 22.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.1218, allocations: 3.984 kB / 0.7099 GB, free: 22.64 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.655e-05/0.1219, allocations: 31.98 kB / 0.7099 GB, free: 22.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.431e-06/0.1219, allocations: 8.094 kB / 0.7099 GB, free: 22.6 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.904e-06/0.1219, allocations: 3.984 kB / 0.7099 GB, free: 22.59 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.1233, allocations: 0.9825 MB / 0.7109 GB, free: 21.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.1234, allocations: 132.4 kB / 0.711 GB, free: 21.44 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.1235, allocations: 27.98 kB / 0.7111 GB, free: 21.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000371/0.1239, allocations: 27.97 kB / 0.7111 GB, free: 21.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.53e-05/0.124, allocations: 32.39 kB / 0.7111 GB, free: 21.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-05/0.124, allocations: 12 kB / 0.7111 GB, free: 21.34 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002644/0.1243, allocations: 283.1 kB / 0.7114 GB, free: 21.06 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.673e-06/0.1243, allocations: 0 / 0.7114 GB, free: 21.06 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008657/0.1252, allocations: 211.9 kB / 0.7116 GB, free: 20.86 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * 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 simulation (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001413/0.1254, allocations: 135.1 kB / 0.7117 GB, free: 20.71 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002369/0.1277, allocations: 1.449 MB / 0.7131 GB, free: 19.24 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.1278, allocations: 0 / 0.7131 GB, free: 19.24 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004889/0.1283, allocations: 302.3 kB / 0.7134 GB, free: 18.94 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007639/0.129, allocations: 118.4 kB / 0.7135 GB, free: 18.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004445/0.1335, allocations: 3.225 MB / 0.7167 GB, free: 15.55 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004475/0.134, allocations: 0.996 MB / 0.7177 GB, free: 14.53 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005962/0.1346, allocations: 204.6 kB / 0.7179 GB, free: 14.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001862/0.1348, allocations: 47.42 kB / 0.7179 GB, free: 14.28 MB / 442.7 MB Notification: Performance of SimCode: time 1.305e-06/0.1348, allocations: 4 kB / 0.7179 GB, free: 14.27 MB / 442.7 MB Notification: Performance of Templates: time 0.03803/0.1728, allocations: 9.767 MB / 0.7275 GB, free: 4.523 MB / 442.7 MB