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.00256/0.002564, allocations: 364 kB / 17.21 MB, free: 4.953 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.727/3.727, 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.003552/0.003552, allocations: 229.3 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.7336/0.7336, allocations: 76 MB / 0.56 GB, free: 177.7 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006094/0.0006097, allocations: 12 kB / 0.6222 GB, free: 114.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0896/0.09024, allocations: 53.23 MB / 0.6742 GB, free: 60.95 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4448/0.5351, allocations: 96.39 MB / 0.7683 GB, free: 81.81 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/0.5355, allocations: 98.27 kB / 0.7684 GB, free: 81.81 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06046/0.596, allocations: 15.07 MB / 0.7832 GB, free: 78.58 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.596, allocations: 0 / 0.7832 GB, free: 78.58 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.922e-05/0.5961, allocations: 8.531 kB / 0.7832 GB, free: 78.58 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.001776/0.5978, allocations: 0.722 MB / 0.7839 GB, free: 78 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.5979, allocations: 7.844 kB / 0.7839 GB, free: 78 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009007/0.5988, allocations: 89.56 kB / 0.784 GB, free: 77.96 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.6002, allocations: 0.5484 MB / 0.7845 GB, free: 77.62 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.018e-05/0.6002, allocations: 26.03 kB / 0.7845 GB, free: 77.62 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.6004, allocations: 36.53 kB / 0.7846 GB, free: 77.62 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.6017, allocations: 0.6884 MB / 0.7852 GB, free: 77.37 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/0.6018, allocations: 0 / 0.7852 GB, free: 77.37 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.497e-05/0.6019, allocations: 14.19 kB / 0.7852 GB, free: 77.37 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002325/0.6021, allocations: 58.55 kB / 0.7853 GB, free: 77.36 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/0.6036, allocations: 0.6372 MB / 0.7859 GB, free: 77.24 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004573/0.6082, allocations: 2.554 MB / 0.7884 GB, free: 75.57 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006819/0.6089, allocations: 322.5 kB / 0.7887 GB, free: 75.49 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004162/0.6093, allocations: 247 kB / 0.789 GB, free: 75.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.111e-05/0.6094, allocations: 3.625 kB / 0.789 GB, free: 75.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.6094, allocations: 37.56 kB / 0.789 GB, free: 75.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 2.946e-06/0.6094, allocations: 0 / 0.789 GB, free: 75.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=44): time 0.002858/0.6123, allocations: 1.406 MB / 0.7904 GB, free: 74.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/0.6124, allocations: 87.89 kB / 0.7905 GB, free: 74.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003331/0.6127, allocations: 277.6 kB / 0.7907 GB, free: 74.66 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.6128, allocations: 36.77 kB / 0.7908 GB, free: 74.62 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.6129, allocations: 240.8 kB / 0.791 GB, free: 74.45 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.613, allocations: 151.9 kB / 0.7911 GB, free: 74.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.6131, allocations: 3.25 kB / 0.7911 GB, free: 74.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.334e-05/0.6132, allocations: 351.6 kB / 0.7915 GB, free: 74.01 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004051/0.6136, allocations: 203 kB / 0.7917 GB, free: 73.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004651/0.6141, allocations: 323.3 kB / 0.792 GB, free: 73.82 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005246/0.6146, allocations: 264.7 kB / 0.7922 GB, free: 73.78 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.6146, allocations: 0 / 0.7922 GB, free: 73.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001683/0.6163, allocations: 0.7039 MB / 0.7929 GB, free: 73.58 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.6164, allocations: 11.52 kB / 0.7929 GB, free: 73.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001257/0.6176, allocations: 0.5305 MB / 0.7934 GB, free: 73.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006513/0.6183, allocations: 105.5 kB / 0.7935 GB, free: 73.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005646/0.6189, allocations: 89.39 kB / 0.7936 GB, free: 73.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002892/0.6218, allocations: 3.009 MB / 0.7966 GB, free: 70.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004953/0.6223, allocations: 28.34 kB / 0.7966 GB, free: 70.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.877e-05/0.6224, allocations: 18.81 kB / 0.7966 GB, free: 70.72 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (43): * Single equations (assignments): 38 * Array equations: 3 * 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.0003619/0.6228, allocations: 202.5 kB / 0.7968 GB, free: 70.59 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.121e-05/0.6229, allocations: 35.14 kB / 0.7968 GB, free: 70.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.624, allocations: 0.5201 MB / 0.7973 GB, free: 70.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.803e-05/0.624, allocations: 18.8 kB / 0.7974 GB, free: 70.43 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.624, allocations: 0 / 0.7974 GB, free: 70.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.6241, allocations: 3.969 kB / 0.7974 GB, free: 70.43 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/0.6262, allocations: 1.092 MB / 0.7984 GB, free: 69.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.6262, allocations: 3.344 kB / 0.7984 GB, free: 69.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007534/0.627, allocations: 73.34 kB / 0.7985 GB, free: 69.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.585e-06/0.627, allocations: 2.875 kB / 0.7985 GB, free: 69.92 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.904e-05/0.6271, allocations: 6.312 kB / 0.7985 GB, free: 69.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/0.6271, allocations: 4.406 kB / 0.7985 GB, free: 69.92 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.6271, allocations: 2.844 kB / 0.7985 GB, free: 69.92 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.6285, allocations: 0.8346 MB / 0.7993 GB, free: 69.65 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002081/0.6288, allocations: 144.8 kB / 0.7995 GB, free: 69.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.449e-05/0.6288, allocations: 10.17 kB / 0.7995 GB, free: 69.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000372/0.6292, allocations: 20.12 kB / 0.7995 GB, free: 69.51 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.567e-05/0.6293, allocations: 16.34 kB / 0.7995 GB, free: 69.51 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.162e-05/0.6294, allocations: 20.09 kB / 0.7995 GB, free: 69.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002512/0.6296, allocations: 200 kB / 0.7997 GB, free: 69.39 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6296, allocations: 0 / 0.7997 GB, free: 69.39 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007333/0.6304, allocations: 131.2 kB / 0.7999 GB, free: 69.38 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 (31): * Single equations (assignments): 27 * Array equations: 3 * 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.000267/0.6307, allocations: 144 kB / 0.8 GB, free: 69.28 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001452/0.6321, allocations: 0.7444 MB / 0.8007 GB, free: 68.97 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.6321, allocations: 0 / 0.8007 GB, free: 68.97 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000443/0.6326, allocations: 242.2 kB / 0.8009 GB, free: 68.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007029/0.6333, allocations: 63.27 kB / 0.801 GB, free: 68.92 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.6358, allocations: 1.39 MB / 0.8024 GB, free: 68.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.6362, allocations: 0.8825 MB / 0.8032 GB, free: 67.32 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000535/0.6368, allocations: 106.8 kB / 0.8033 GB, free: 67.28 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.637, allocations: 29.09 kB / 0.8034 GB, free: 67.27 MB / 442.7 MB Notification: Performance of SimCode: time 9.12e-07/0.637, allocations: 0 / 0.8034 GB, free: 67.27 MB / 442.7 MB Notification: Performance of Templates: time 0.01228/0.6493, allocations: 4.164 MB / 0.8074 GB, free: 65.31 MB / 442.7 MB