Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Source.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.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.Source") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002453/0.002452, allocations: 355.4 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.472/3.472, allocations: 388.9 MB / 406.2 MB, free: 11.98 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.003368/0.003368, allocations: 235.8 kB / 451.6 MB, free: 14.59 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.6443/0.6443, allocations: 76.01 MB / 0.5594 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005051/0.0005053, allocations: 12 kB / 0.6216 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06809/0.06862, allocations: 53.24 MB / 0.6736 GB, free: 60.82 MB / 442.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.004319/0.07297, allocations: 4.436 MB / 0.6779 GB, free: 56.36 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002314/0.07531, allocations: 1.634 MB / 0.6795 GB, free: 54.71 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002193/0.07555, allocations: 27.75 kB / 0.6796 GB, free: 54.69 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001926/0.07576, allocations: 71.45 kB / 0.6796 GB, free: 54.62 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006648/0.07644, allocations: 294.5 kB / 0.6799 GB, free: 54.33 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006214/0.07708, allocations: 227.4 kB / 0.6801 GB, free: 54.11 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006071/0.0777, allocations: 0.7404 MB / 0.6809 GB, free: 53.36 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006524/0.07837, allocations: 430.5 kB / 0.6813 GB, free: 52.91 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002611/0.07865, allocations: 215 kB / 0.6815 GB, free: 52.7 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004461/0.07911, allocations: 363 kB / 0.6818 GB, free: 52.34 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 5.543e-05/0.07919, allocations: 20 kB / 0.6818 GB, free: 52.32 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003582/0.07956, allocations: 183.6 kB / 0.682 GB, free: 52.14 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002077/0.07978, allocations: 211.5 kB / 0.6822 GB, free: 51.93 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.0799, allocations: 105.5 kB / 0.6823 GB, free: 51.82 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004656/0.08038, allocations: 0.491 MB / 0.6828 GB, free: 51.33 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.823e-06/0.08039, allocations: 0 / 0.6828 GB, free: 51.33 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.17e-06/0.0804, allocations: 0 / 0.6828 GB, free: 51.33 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.772e-06/0.08042, allocations: 0 / 0.6828 GB, free: 51.33 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001131/0.08156, allocations: 0.6956 MB / 0.6835 GB, free: 50.59 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.08161, allocations: 12.83 kB / 0.6835 GB, free: 50.58 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007229/0.08234, allocations: 99.36 kB / 0.6836 GB, free: 50.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005681/0.08293, allocations: 386.1 kB / 0.6839 GB, free: 50.05 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.08297, allocations: 29 kB / 0.684 GB, free: 50.03 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.08314, allocations: 55.83 kB / 0.684 GB, free: 49.97 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.08421, allocations: 0.6914 MB / 0.6847 GB, free: 49.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.08424, allocations: 0 / 0.6847 GB, free: 49.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.171e-05/0.08431, allocations: 12 kB / 0.6847 GB, free: 49.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002094/0.08453, allocations: 68.95 kB / 0.6848 GB, free: 49.17 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.08568, allocations: 0.6596 MB / 0.6854 GB, free: 48.5 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003551/0.08925, allocations: 2.639 MB / 0.688 GB, free: 45.72 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005577/0.08983, allocations: 321.7 kB / 0.6883 GB, free: 45.39 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002996/0.09014, allocations: 205.7 kB / 0.6885 GB, free: 45.18 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.0902, allocations: 11.94 kB / 0.6885 GB, free: 45.17 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.09023, allocations: 34.56 kB / 0.6885 GB, free: 45.12 MB / 442.7 MB Notification: Performance of pre-optimization done (n=39): time 2.744e-06/0.09024, allocations: 4 kB / 0.6886 GB, free: 45.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=40): time 0.002084/0.09233, allocations: 1.28 MB / 0.6898 GB, free: 43.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.09238, allocations: 77.11 kB / 0.6899 GB, free: 43.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/0.0927, allocations: 295.2 kB / 0.6902 GB, free: 43.4 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.09274, allocations: 29.7 kB / 0.6902 GB, free: 43.37 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.09288, allocations: 255.5 kB / 0.6904 GB, free: 43.11 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.304e-05/0.09298, allocations: 150.1 kB / 0.6906 GB, free: 42.96 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.429e-05/0.09302, allocations: 4 kB / 0.6906 GB, free: 42.96 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.52e-05/0.0931, allocations: 346.8 kB / 0.6909 GB, free: 42.61 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003355/0.09345, allocations: 184.9 kB / 0.6911 GB, free: 42.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003847/0.09385, allocations: 333.2 kB / 0.6914 GB, free: 42.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004043/0.09428, allocations: 251.7 kB / 0.6916 GB, free: 41.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.257e-06/0.09429, allocations: 0 / 0.6916 GB, free: 41.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001351/0.09566, allocations: 0.6705 MB / 0.6923 GB, free: 41.12 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.0957, allocations: 8 kB / 0.6923 GB, free: 41.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009159/0.09663, allocations: 499.5 kB / 0.6928 GB, free: 40.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004664/0.09711, allocations: 105.6 kB / 0.6929 GB, free: 40.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/0.09748, allocations: 87.81 kB / 0.693 GB, free: 40.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002469/0.09996, allocations: 3.022 MB / 0.6959 GB, free: 37.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002947/0.1003, allocations: 27.92 kB / 0.6959 GB, free: 37.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.752e-05/0.1003, allocations: 23.98 kB / 0.696 GB, free: 37.09 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * 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%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002647/0.1006, allocations: 209.7 kB / 0.6962 GB, free: 36.87 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.1008, allocations: 31.62 kB / 0.6962 GB, free: 36.84 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007776/0.1016, allocations: 476.5 kB / 0.6966 GB, free: 36.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-05/0.1016, allocations: 11.98 kB / 0.6967 GB, free: 36.35 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.691e-06/0.1016, allocations: 4 kB / 0.6967 GB, free: 36.34 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.695e-06/0.1016, allocations: 0 / 0.6967 GB, free: 36.34 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.1032, allocations: 1.031 MB / 0.6977 GB, free: 35.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.534e-06/0.1032, allocations: 0 / 0.6977 GB, free: 35.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004165/0.1036, allocations: 63.89 kB / 0.6977 GB, free: 35.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.082e-06/0.1036, allocations: 4 kB / 0.6977 GB, free: 35.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.349e-05/0.1037, allocations: 8 kB / 0.6977 GB, free: 35.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.053e-06/0.1037, allocations: 4 kB / 0.6977 GB, free: 35.17 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.1037, allocations: 3.984 kB / 0.6978 GB, free: 35.17 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.1048, allocations: 0.7473 MB / 0.6985 GB, free: 34.39 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.105, allocations: 132.8 kB / 0.6986 GB, free: 34.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.562e-05/0.105, allocations: 8 kB / 0.6986 GB, free: 34.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.1053, allocations: 19.97 kB / 0.6986 GB, free: 34.22 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.676e-05/0.1053, allocations: 12.22 kB / 0.6986 GB, free: 34.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.908e-05/0.1054, allocations: 16 kB / 0.6987 GB, free: 34.19 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001977/0.1056, allocations: 207 kB / 0.6989 GB, free: 33.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.66e-07/0.1056, allocations: 3.938 kB / 0.6989 GB, free: 33.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006145/0.1062, allocations: 112 kB / 0.699 GB, free: 33.87 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (30): * Single equations (assignments): 27 * Array equations: 2 * 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.0001928/0.1064, allocations: 130.9 kB / 0.6991 GB, free: 33.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.1075, allocations: 0.7056 MB / 0.6998 GB, free: 33 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.326e-06/0.1076, allocations: 4 kB / 0.6998 GB, free: 33 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003399/0.1079, allocations: 219.5 kB / 0.7 GB, free: 32.79 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006014/0.1085, allocations: 61.31 kB / 0.7001 GB, free: 32.73 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.1103, allocations: 1.337 MB / 0.7014 GB, free: 31.35 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.1107, allocations: 0.886 MB / 0.7022 GB, free: 30.44 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003489/0.1111, allocations: 107.2 kB / 0.7023 GB, free: 30.33 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.1112, allocations: 31.44 kB / 0.7024 GB, free: 30.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.545e-06/0.1112, allocations: 0 / 0.7024 GB, free: 30.3 MB / 442.7 MB Notification: Performance of Templates: time 0.009498/0.1207, allocations: 3.885 MB / 0.7062 GB, free: 26.43 MB / 442.7 MB