Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer.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.Transmission.PowerTransfer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Transmission.PowerTransfer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002457/0.002462, allocations: 356.1 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.391/3.391, allocations: 388.9 MB / 406.2 MB, free: 11.9 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.003439/0.003439, allocations: 244.8 kB / 451.6 MB, free: 14.5 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.6353/0.6353, allocations: 76.01 MB / 0.5594 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004665/0.0004668, allocations: 8 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06781/0.0683, allocations: 53.24 MB / 0.6736 GB, free: 60.81 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.004556/0.0729, allocations: 4.697 MB / 0.6782 GB, free: 56.09 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002092/0.07502, allocations: 1.478 MB / 0.6796 GB, free: 54.6 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002223/0.07526, allocations: 27.81 kB / 0.6797 GB, free: 54.57 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000292/0.07557, allocations: 87.36 kB / 0.6797 GB, free: 54.49 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000525/0.07611, allocations: 262.5 kB / 0.68 GB, free: 54.23 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000446/0.07657, allocations: 167.7 kB / 0.6802 GB, free: 54.07 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005636/0.07715, allocations: 0.6385 MB / 0.6808 GB, free: 53.43 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008719/0.07804, allocations: 0.5471 MB / 0.6813 GB, free: 52.84 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002399/0.0783, allocations: 199 kB / 0.6815 GB, free: 52.65 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004016/0.07871, allocations: 263.1 kB / 0.6818 GB, free: 52.39 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.21e-05/0.07879, allocations: 16 kB / 0.6818 GB, free: 52.38 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002167/0.07902, allocations: 83.75 kB / 0.6819 GB, free: 52.29 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.07918, allocations: 175.5 kB / 0.682 GB, free: 52.12 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.71e-05/0.07928, allocations: 97.52 kB / 0.6821 GB, free: 52.02 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000405/0.0797, allocations: 391 kB / 0.6825 GB, free: 51.64 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.31e-06/0.07972, allocations: 8 kB / 0.6825 GB, free: 51.63 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.07973, allocations: 0 / 0.6825 GB, free: 51.63 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.07975, allocations: 0 / 0.6825 GB, free: 51.63 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.0008865/0.08064, allocations: 0.6404 MB / 0.6831 GB, free: 50.94 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.08069, allocations: 12.03 kB / 0.6831 GB, free: 50.93 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007154/0.08141, allocations: 95.36 kB / 0.6832 GB, free: 50.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000628/0.08206, allocations: 394.9 kB / 0.6836 GB, free: 50.41 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.0821, allocations: 25 kB / 0.6836 GB, free: 50.39 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.08225, allocations: 51.92 kB / 0.6837 GB, free: 50.34 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006923/0.08295, allocations: 472.8 kB / 0.6841 GB, free: 49.85 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.08299, allocations: 0 / 0.6841 GB, free: 49.85 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.143e-05/0.08304, allocations: 16 kB / 0.6841 GB, free: 49.83 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001034/0.08315, allocations: 28.92 kB / 0.6842 GB, free: 49.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006461/0.08381, allocations: 339.7 kB / 0.6845 GB, free: 49.47 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002177/0.086, allocations: 1.629 MB / 0.6861 GB, free: 47.75 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003432/0.08636, allocations: 171.8 kB / 0.6862 GB, free: 47.56 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.08657, allocations: 117.6 kB / 0.6864 GB, free: 47.44 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.0866, allocations: 0 / 0.6864 GB, free: 47.44 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.08663, allocations: 42.56 kB / 0.6864 GB, free: 47.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=19): time 1.912e-06/0.08664, allocations: 0 / 0.6864 GB, free: 47.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.001337/0.08798, allocations: 0.7812 MB / 0.6872 GB, free: 46.55 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/0.08803, allocations: 77.11 kB / 0.6872 GB, free: 46.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.08833, allocations: 308.4 kB / 0.6875 GB, free: 46.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.08836, allocations: 33.81 kB / 0.6876 GB, free: 46.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.0885, allocations: 251.5 kB / 0.6878 GB, free: 45.86 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.473e-05/0.08856, allocations: 75 kB / 0.6879 GB, free: 45.78 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.683e-05/0.08859, allocations: 4 kB / 0.6879 GB, free: 45.78 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.812e-05/0.08867, allocations: 338.8 kB / 0.6882 GB, free: 45.44 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.08885, allocations: 103.6 kB / 0.6883 GB, free: 45.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.0891, allocations: 196.9 kB / 0.6885 GB, free: 45.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/0.08935, allocations: 132.1 kB / 0.6886 GB, free: 44.97 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.894e-06/0.08936, allocations: 0 / 0.6886 GB, free: 44.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008633/0.09023, allocations: 434.4 kB / 0.689 GB, free: 44.54 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.09026, allocations: 8 kB / 0.689 GB, free: 44.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005439/0.09082, allocations: 260.5 kB / 0.6893 GB, free: 44.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003556/0.09119, allocations: 77.09 kB / 0.6894 GB, free: 44.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000313/0.09152, allocations: 67.91 kB / 0.6894 GB, free: 44.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.09293, allocations: 1.589 MB / 0.691 GB, free: 42.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.09316, allocations: 8 kB / 0.691 GB, free: 42.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.826e-05/0.09321, allocations: 19.95 kB / 0.691 GB, free: 42.38 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (34): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001907/0.09341, allocations: 193.7 kB / 0.6912 GB, free: 42.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.616e-05/0.09348, allocations: 27.62 kB / 0.6912 GB, free: 42.15 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004468/0.09394, allocations: 269.6 kB / 0.6915 GB, free: 41.88 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.09396, allocations: 8 kB / 0.6915 GB, free: 41.87 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.337e-06/0.09397, allocations: 0 / 0.6915 GB, free: 41.87 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.09399, allocations: 0 / 0.6915 GB, free: 41.87 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.09522, allocations: 0.7536 MB / 0.6922 GB, free: 41.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.512e-06/0.09524, allocations: 4 kB / 0.6922 GB, free: 41.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003799/0.09563, allocations: 56.03 kB / 0.6923 GB, free: 41 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.641e-06/0.09565, allocations: 0 / 0.6923 GB, free: 41 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-05/0.0957, allocations: 8 kB / 0.6923 GB, free: 40.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.323e-06/0.09572, allocations: 0 / 0.6923 GB, free: 40.99 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.754e-06/0.09573, allocations: 7.938 kB / 0.6923 GB, free: 40.98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005829/0.09632, allocations: 453.3 kB / 0.6927 GB, free: 40.51 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.067e-05/0.09642, allocations: 100.7 kB / 0.6928 GB, free: 40.39 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.201e-05/0.09648, allocations: 12.03 kB / 0.6928 GB, free: 40.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.09669, allocations: 8 kB / 0.6928 GB, free: 40.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.95e-05/0.09674, allocations: 15.94 kB / 0.6928 GB, free: 40.36 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.09677, allocations: 11.94 kB / 0.6929 GB, free: 40.35 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002069/0.09699, allocations: 219 kB / 0.6931 GB, free: 40.13 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.85e-07/0.097, allocations: 3.938 kB / 0.6931 GB, free: 40.13 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004602/0.09747, allocations: 88 kB / 0.6932 GB, free: 40.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (23): * Single equations (assignments): 22 * 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 9.299e-05/0.09757, allocations: 103.2 kB / 0.6932 GB, free: 39.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006328/0.09822, allocations: 362.4 kB / 0.6936 GB, free: 39.56 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.889e-06/0.09824, allocations: 0.875 kB / 0.6936 GB, free: 39.56 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001749/0.09842, allocations: 107.9 kB / 0.6937 GB, free: 39.46 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005337/0.09897, allocations: 73.41 kB / 0.6938 GB, free: 39.39 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.1004, allocations: 1.122 MB / 0.6949 GB, free: 38.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.1008, allocations: 0.858 MB / 0.6957 GB, free: 37.35 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002604/0.1011, allocations: 74.89 kB / 0.6958 GB, free: 37.27 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.435e-05/0.1012, allocations: 27.44 kB / 0.6958 GB, free: 37.25 MB / 442.7 MB Notification: Performance of SimCode: time 1.321e-06/0.1012, allocations: 0 / 0.6958 GB, free: 37.25 MB / 442.7 MB Notification: Performance of Templates: time 0.01108/0.1122, allocations: 3.205 MB / 0.6989 GB, free: 34.05 MB / 442.7 MB