Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.ImpedanceYD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002591/0.002596, allocations: 362.4 kB / 17.21 MB, free: 4.93 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.463/3.463, allocations: 388.9 MB / 406.9 MB, free: 6.969 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.003496/0.003495, allocations: 228.5 kB / 452.2 MB, free: 0.5938 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.7218/0.7218, allocations: 76.03 MB / 0.56 GB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006283/0.0006287, allocations: 12 kB / 0.6223 GB, free: 14.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3322, allocations: 53.22 MB / 0.6742 GB, free: 62.63 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.005354/0.3376, allocations: 4.567 MB / 0.6787 GB, free: 58.04 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003303/0.341, allocations: 1.678 MB / 0.6803 GB, free: 56.37 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003574/0.3414, allocations: 19.88 kB / 0.6803 GB, free: 56.35 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002345/0.3416, allocations: 80.47 kB / 0.6804 GB, free: 56.27 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009302/0.3426, allocations: 300.6 kB / 0.6807 GB, free: 55.98 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008311/0.3434, allocations: 244 kB / 0.6809 GB, free: 55.74 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000764/0.3442, allocations: 0.7209 MB / 0.6816 GB, free: 55.02 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007915/0.345, allocations: 445.9 kB / 0.6821 GB, free: 54.56 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003351/0.3454, allocations: 215 kB / 0.6823 GB, free: 54.35 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005444/0.3459, allocations: 319 kB / 0.6826 GB, free: 54.04 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.452e-05/0.346, allocations: 20 kB / 0.6826 GB, free: 54.02 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000388/0.3464, allocations: 99.72 kB / 0.6827 GB, free: 53.92 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000321/0.3467, allocations: 199.5 kB / 0.6829 GB, free: 53.72 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001677/0.3469, allocations: 109.5 kB / 0.683 GB, free: 53.61 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006517/0.3476, allocations: 450.9 kB / 0.6834 GB, free: 53.17 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3476, allocations: 8 kB / 0.6834 GB, free: 53.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3476, allocations: 0 / 0.6834 GB, free: 53.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.3476, allocations: 0 / 0.6834 GB, free: 53.16 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001478/0.3491, allocations: 0.68 MB / 0.6841 GB, free: 52.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.3492, allocations: 8.031 kB / 0.6841 GB, free: 52.43 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008739/0.35, allocations: 99.27 kB / 0.6842 GB, free: 52.33 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007169/0.3508, allocations: 391 kB / 0.6846 GB, free: 51.9 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.346e-05/0.3508, allocations: 32.98 kB / 0.6846 GB, free: 51.87 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001903/0.351, allocations: 47.94 kB / 0.6846 GB, free: 51.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.3522, allocations: 0.656 MB / 0.6853 GB, free: 51.11 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.3522, allocations: 4 kB / 0.6853 GB, free: 51.1 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.969e-05/0.3523, allocations: 19.98 kB / 0.6853 GB, free: 51.08 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002179/0.3525, allocations: 48.97 kB / 0.6854 GB, free: 51.04 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001045/0.3536, allocations: 483.5 kB / 0.6858 GB, free: 50.56 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003975/0.3576, allocations: 3.168 MB / 0.6889 GB, free: 47.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006132/0.3582, allocations: 237.9 kB / 0.6891 GB, free: 46.96 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002417/0.3585, allocations: 123.6 kB / 0.6892 GB, free: 46.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.53e-05/0.3585, allocations: 4.188 kB / 0.6893 GB, free: 46.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.3586, allocations: 38.75 kB / 0.6893 GB, free: 46.79 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 3.737e-06/0.3586, allocations: 0 / 0.6893 GB, free: 46.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.001866/0.3605, allocations: 0.8898 MB / 0.6902 GB, free: 45.85 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.3605, allocations: 81.09 kB / 0.6902 GB, free: 45.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003928/0.3609, allocations: 336.2 kB / 0.6906 GB, free: 45.42 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.361, allocations: 25.7 kB / 0.6906 GB, free: 45.39 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.3611, allocations: 299 kB / 0.6909 GB, free: 45.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.047e-05/0.3612, allocations: 94.69 kB / 0.691 GB, free: 45 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.3613, allocations: 4 kB / 0.691 GB, free: 44.99 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.963e-05/0.3613, allocations: 342.8 kB / 0.6913 GB, free: 44.65 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002844/0.3616, allocations: 136.8 kB / 0.6914 GB, free: 44.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003791/0.362, allocations: 329.1 kB / 0.6917 GB, free: 44.11 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000409/0.3625, allocations: 190.2 kB / 0.6919 GB, free: 43.92 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.3625, allocations: 4 kB / 0.6919 GB, free: 43.92 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001522/0.364, allocations: 0.5924 MB / 0.6925 GB, free: 43.31 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.364, allocations: 11.12 kB / 0.6925 GB, free: 43.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008934/0.3649, allocations: 333.3 kB / 0.6928 GB, free: 42.97 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006342/0.3656, allocations: 109.6 kB / 0.6929 GB, free: 42.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005207/0.3661, allocations: 87.98 kB / 0.693 GB, free: 42.77 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002969/0.3691, allocations: 3.034 MB / 0.696 GB, free: 39.47 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004252/0.3696, allocations: 12 kB / 0.696 GB, free: 39.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.457e-05/0.3696, allocations: 28 kB / 0.696 GB, free: 39.43 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * 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: 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.0003119/0.37, allocations: 220.8 kB / 0.6962 GB, free: 39.21 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.047e-05/0.3701, allocations: 31.62 kB / 0.6963 GB, free: 39.18 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007221/0.3708, allocations: 320.6 kB / 0.6966 GB, free: 38.85 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.3708, allocations: 0 / 0.6966 GB, free: 38.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3708, allocations: 0 / 0.6966 GB, free: 38.85 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.371, allocations: 132.7 kB / 0.6967 GB, free: 38.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.34e-05/0.371, allocations: 4 kB / 0.6967 GB, free: 38.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.3713, allocations: 11.98 kB / 0.6967 GB, free: 38.69 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.3714, allocations: 15.92 kB / 0.6967 GB, free: 38.67 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001151/0.3726, allocations: 488 kB / 0.6972 GB, free: 38.19 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009334/0.3735, allocations: 0.6593 MB / 0.6978 GB, free: 37.51 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002407/0.3738, allocations: 127.9 kB / 0.6979 GB, free: 37.39 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002713/0.3741, allocations: 223 kB / 0.6982 GB, free: 37.17 MB / 346.7 MB Notification: Performance of Backend: time 7.81e-07/0.3741, allocations: 0 / 0.6982 GB, free: 37.17 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001627/0.3757, allocations: 0.5825 MB / 0.6987 GB, free: 36.56 MB / 346.7 MB Notification: Performance of SimCode: time 0.002162/0.3779, allocations: 1.612 MB / 0.7003 GB, free: 34.9 MB / 346.7 MB Notification: Performance of Templates: time 0.01251/0.3904, allocations: 4.4 MB / 0.7046 GB, free: 30.54 MB / 346.7 MB