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.002536/0.002536, allocations: 363.2 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.776/3.776, allocations: 388.9 MB / 406.8 MB, free: 12 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.003659/0.003659, allocations: 243.7 kB / 452.2 MB, free: 14.6 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.7389/0.7389, allocations: 76.01 MB / 0.56 GB, free: 177.7 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004593/0.0004596, allocations: 12 kB / 0.6222 GB, free: 114.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09227/0.09275, allocations: 53.23 MB / 0.6742 GB, free: 60.96 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4668/0.5596, allocations: 90.8 MB / 0.7629 GB, free: 81.38 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003736/0.56, allocations: 96.16 kB / 0.763 GB, free: 81.38 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05709/0.6171, allocations: 12.84 MB / 0.7755 GB, free: 80.09 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.6172, allocations: 0 / 0.7755 GB, free: 80.09 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.869e-05/0.6172, allocations: 7.75 kB / 0.7755 GB, free: 80.09 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.001449/0.6187, allocations: 0.6828 MB / 0.7762 GB, free: 79.58 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.6187, allocations: 7.781 kB / 0.7762 GB, free: 79.58 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009757/0.6197, allocations: 99.95 kB / 0.7763 GB, free: 79.55 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.6212, allocations: 0.5729 MB / 0.7769 GB, free: 79.29 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.281e-05/0.6213, allocations: 24.09 kB / 0.7769 GB, free: 79.29 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.023e-05/0.6214, allocations: 34.19 kB / 0.7769 GB, free: 79.29 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009982/0.6224, allocations: 481.4 kB / 0.7774 GB, free: 79.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.6224, allocations: 0 / 0.7774 GB, free: 79.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.103e-05/0.6225, allocations: 10.78 kB / 0.7774 GB, free: 79.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.877e-05/0.6225, allocations: 27.36 kB / 0.7774 GB, free: 79.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007805/0.6233, allocations: 341 kB / 0.7777 GB, free: 79.18 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002928/0.6263, allocations: 1.635 MB / 0.7793 GB, free: 78.24 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004372/0.6267, allocations: 175.4 kB / 0.7795 GB, free: 78.17 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000231/0.627, allocations: 112.2 kB / 0.7796 GB, free: 78.14 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.627, allocations: 3.938 kB / 0.7796 GB, free: 78.14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.6271, allocations: 38.39 kB / 0.7796 GB, free: 78.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=19): time 2.845e-06/0.6271, allocations: 0 / 0.7796 GB, free: 78.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.001721/0.6288, allocations: 0.777 MB / 0.7804 GB, free: 77.67 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.6289, allocations: 81.05 kB / 0.7805 GB, free: 77.57 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003778/0.6293, allocations: 309 kB / 0.7808 GB, free: 77.42 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.6293, allocations: 29.27 kB / 0.7808 GB, free: 77.39 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.6295, allocations: 252.9 kB / 0.781 GB, free: 77.21 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.336e-05/0.6295, allocations: 69.3 kB / 0.7811 GB, free: 77.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.283e-05/0.6296, allocations: 10.91 kB / 0.7811 GB, free: 77.16 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.621e-05/0.6297, allocations: 343.9 kB / 0.7815 GB, free: 76.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002682/0.63, allocations: 93.19 kB / 0.7815 GB, free: 76.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002769/0.6302, allocations: 198.9 kB / 0.7817 GB, free: 76.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002976/0.6306, allocations: 127.6 kB / 0.7819 GB, free: 76.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6306, allocations: 3.75 kB / 0.7819 GB, free: 76.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001157/0.6317, allocations: 434.5 kB / 0.7823 GB, free: 76.52 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.6318, allocations: 11.67 kB / 0.7823 GB, free: 76.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000721/0.6325, allocations: 252.8 kB / 0.7825 GB, free: 76.46 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005202/0.633, allocations: 84.39 kB / 0.7826 GB, free: 76.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004269/0.6335, allocations: 63.66 kB / 0.7827 GB, free: 76.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/0.6354, allocations: 1.582 MB / 0.7842 GB, free: 75.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004368/0.6359, allocations: 24.39 kB / 0.7842 GB, free: 75.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.729e-05/0.6359, allocations: 23.05 kB / 0.7843 GB, free: 75.05 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.0003396/0.6363, allocations: 186.8 kB / 0.7844 GB, free: 74.91 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.279e-05/0.6364, allocations: 31.03 kB / 0.7845 GB, free: 74.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006372/0.637, allocations: 266.3 kB / 0.7847 GB, free: 74.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.6371, allocations: 3.844 kB / 0.7847 GB, free: 74.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6371, allocations: 3.984 kB / 0.7847 GB, free: 74.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.6371, allocations: 4 kB / 0.7847 GB, free: 74.81 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/0.6388, allocations: 0.7499 MB / 0.7855 GB, free: 74.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.6388, allocations: 0 / 0.7855 GB, free: 74.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004972/0.6393, allocations: 57.56 kB / 0.7855 GB, free: 74.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.6394, allocations: 0 / 0.7855 GB, free: 74.38 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/0.6394, allocations: 9.984 kB / 0.7855 GB, free: 74.37 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.6394, allocations: 4.625 kB / 0.7855 GB, free: 74.37 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.6394, allocations: 3.844 kB / 0.7855 GB, free: 74.37 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000769/0.6402, allocations: 449.3 kB / 0.786 GB, free: 74.15 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.6403, allocations: 111.5 kB / 0.7861 GB, free: 74.04 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.77e-05/0.6404, allocations: 7.062 kB / 0.7861 GB, free: 74.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002858/0.6407, allocations: 13.08 kB / 0.7861 GB, free: 74.03 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/0.6408, allocations: 19.41 kB / 0.7861 GB, free: 74.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.6408, allocations: 3.844 kB / 0.7861 GB, free: 74.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000306/0.6411, allocations: 217 kB / 0.7863 GB, free: 73.92 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6411, allocations: 0 / 0.7863 GB, free: 73.92 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006269/0.6418, allocations: 98.62 kB / 0.7864 GB, free: 73.91 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 0.0001925/0.642, allocations: 131.8 kB / 0.7865 GB, free: 73.81 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0008652/0.6429, allocations: 369.1 kB / 0.7869 GB, free: 73.65 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.6429, allocations: 4.125 kB / 0.7869 GB, free: 73.65 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000228/0.6431, allocations: 105.1 kB / 0.787 GB, free: 73.63 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006949/0.6438, allocations: 63.19 kB / 0.7871 GB, free: 73.62 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.6458, allocations: 1.129 MB / 0.7882 GB, free: 72.87 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.6462, allocations: 0.8597 MB / 0.789 GB, free: 72.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003927/0.6466, allocations: 73.89 kB / 0.7891 GB, free: 72.07 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.6468, allocations: 30.42 kB / 0.7891 GB, free: 72.06 MB / 442.7 MB Notification: Performance of SimCode: time 1.503e-06/0.6468, allocations: 4 kB / 0.7891 GB, free: 72.05 MB / 442.7 MB Notification: Performance of Templates: time 0.01047/0.6573, allocations: 3.471 MB / 0.7925 GB, free: 70.45 MB / 442.7 MB