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.002538/0.002542, allocations: 361.4 kB / 17.21 MB, free: 4.926 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.39/3.39, allocations: 388.9 MB / 406.9 MB, free: 7.027 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003481/0.003481, allocations: 230.9 kB / 452.2 MB, free: 0.6055 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.714/0.714, allocations: 76.04 MB / 0.56 GB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000448/0.0004482, allocations: 12 kB / 0.6223 GB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3527, allocations: 53.21 MB / 0.6742 GB, free: 62.63 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.PowerTransfer): time 0.006295/0.359, allocations: 4.711 MB / 0.6788 GB, free: 57.9 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003326/0.3624, allocations: 1.472 MB / 0.6803 GB, free: 56.43 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004346/0.3629, allocations: 27.81 kB / 0.6803 GB, free: 56.4 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003991/0.3633, allocations: 91.34 kB / 0.6804 GB, free: 56.31 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008534/0.3642, allocations: 260.1 kB / 0.6806 GB, free: 56.06 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000771/0.365, allocations: 169.2 kB / 0.6808 GB, free: 55.89 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009577/0.3659, allocations: 0.636 MB / 0.6814 GB, free: 55.26 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.3671, allocations: 0.5365 MB / 0.6819 GB, free: 54.7 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004145/0.3675, allocations: 199 kB / 0.6821 GB, free: 54.5 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00056/0.3681, allocations: 267.2 kB / 0.6824 GB, free: 54.24 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.623e-05/0.3682, allocations: 16 kB / 0.6824 GB, free: 54.23 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003125/0.3685, allocations: 87.75 kB / 0.6825 GB, free: 54.14 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.3687, allocations: 171.5 kB / 0.6826 GB, free: 53.97 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.3688, allocations: 101.5 kB / 0.6827 GB, free: 53.87 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004851/0.3693, allocations: 395 kB / 0.6831 GB, free: 53.48 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3693, allocations: 4 kB / 0.6831 GB, free: 53.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3693, allocations: 0 / 0.6831 GB, free: 53.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.3694, allocations: 0 / 0.6831 GB, free: 53.48 MB / 346.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.001259/0.3706, allocations: 0.6404 MB / 0.6837 GB, free: 52.78 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.3707, allocations: 12.03 kB / 0.6837 GB, free: 52.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009592/0.3717, allocations: 95.36 kB / 0.6838 GB, free: 52.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008294/0.3725, allocations: 386.9 kB / 0.6842 GB, free: 52.26 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.3725, allocations: 29 kB / 0.6842 GB, free: 52.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/0.3727, allocations: 43.98 kB / 0.6843 GB, free: 52.19 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009248/0.3737, allocations: 480.7 kB / 0.6847 GB, free: 51.7 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.3737, allocations: 0 / 0.6847 GB, free: 51.7 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.017e-05/0.3738, allocations: 12 kB / 0.6847 GB, free: 51.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001625/0.3739, allocations: 28.98 kB / 0.6848 GB, free: 51.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007672/0.3747, allocations: 335.7 kB / 0.6851 GB, free: 51.33 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002885/0.3776, allocations: 1.633 MB / 0.6867 GB, free: 49.6 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004358/0.3781, allocations: 181 kB / 0.6869 GB, free: 49.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002336/0.3784, allocations: 109.7 kB / 0.687 GB, free: 49.29 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.3784, allocations: 0 / 0.687 GB, free: 49.29 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.3784, allocations: 42.55 kB / 0.687 GB, free: 49.24 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 2.796e-06/0.3784, allocations: 0 / 0.687 GB, free: 49.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=20): time 0.001706/0.3802, allocations: 0.7859 MB / 0.6878 GB, free: 48.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.909e-05/0.3802, allocations: 81.11 kB / 0.6879 GB, free: 48.31 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003621/0.3806, allocations: 300.5 kB / 0.6881 GB, free: 48.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.3806, allocations: 29.7 kB / 0.6882 GB, free: 47.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.3808, allocations: 255.5 kB / 0.6884 GB, free: 47.73 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.99e-05/0.3809, allocations: 71 kB / 0.6885 GB, free: 47.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.169e-05/0.3809, allocations: 4.125 kB / 0.6885 GB, free: 47.65 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.025e-05/0.381, allocations: 346.8 kB / 0.6888 GB, free: 47.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.3812, allocations: 95.88 kB / 0.6889 GB, free: 47.21 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002757/0.3815, allocations: 200.9 kB / 0.6891 GB, free: 46.97 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002999/0.3819, allocations: 129.8 kB / 0.6892 GB, free: 46.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3819, allocations: 0 / 0.6892 GB, free: 46.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001172/0.383, allocations: 426.7 kB / 0.6896 GB, free: 46.42 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.3831, allocations: 8 kB / 0.6896 GB, free: 46.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000753/0.3838, allocations: 264.5 kB / 0.6899 GB, free: 46.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005034/0.3844, allocations: 76.78 kB / 0.69 GB, free: 46.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004427/0.3848, allocations: 71.83 kB / 0.69 GB, free: 46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/0.3866, allocations: 1.589 MB / 0.6916 GB, free: 44.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003507/0.387, allocations: 12 kB / 0.6916 GB, free: 44.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.569e-05/0.3871, allocations: 20.05 kB / 0.6916 GB, free: 44.24 MB / 346.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.0002747/0.3874, allocations: 196.8 kB / 0.6918 GB, free: 44.04 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.238e-05/0.3874, allocations: 31.61 kB / 0.6918 GB, free: 44.01 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006214/0.3881, allocations: 265.6 kB / 0.6921 GB, free: 43.75 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.3881, allocations: 3.984 kB / 0.6921 GB, free: 43.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.3881, allocations: 0 / 0.6921 GB, free: 43.74 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.165e-05/0.3882, allocations: 104.7 kB / 0.6922 GB, free: 43.62 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.501e-05/0.3883, allocations: 8 kB / 0.6922 GB, free: 43.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.3885, allocations: 11.98 kB / 0.6922 GB, free: 43.6 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.3886, allocations: 15.94 kB / 0.6922 GB, free: 43.59 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009579/0.3896, allocations: 441 kB / 0.6926 GB, free: 43.15 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0007904/0.3904, allocations: 0.5918 MB / 0.6932 GB, free: 42.54 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002043/0.3906, allocations: 104.5 kB / 0.6933 GB, free: 42.44 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002589/0.3909, allocations: 215 kB / 0.6935 GB, free: 42.23 MB / 346.7 MB Notification: Performance of Backend: time 9.52e-07/0.3909, allocations: 4.031 kB / 0.6935 GB, free: 42.22 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.3922, allocations: 400.7 kB / 0.6939 GB, free: 41.81 MB / 346.7 MB Notification: Performance of SimCode: time 0.002075/0.3943, allocations: 1.541 MB / 0.6954 GB, free: 40.23 MB / 346.7 MB Notification: Performance of Templates: time 0.01201/0.4064, allocations: 4.056 MB / 0.6994 GB, free: 36.22 MB / 346.7 MB