Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001301/0.001301, allocations: 186.6 kB / 16.38 MB, free: 5.598 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 1.773/1.773, allocations: 194.5 MB / 211.6 MB, free: 7.523 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001866/0.001866, allocations: 128.5 kB / 256.9 MB, free: 10.14 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.2302/0.2302, allocations: 38.01 MB / 340.1 MB, free: 13.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004695/0.0004697, allocations: 17.84 kB / 403.8 MB, free: 55.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06814/0.06863, allocations: 53.23 MB / 457 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.005587/0.07427, allocations: 5.572 MB / 462.6 MB, free: 4.762 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00237/0.07668, allocations: 1.65 MB / 464.2 MB, free: 3.105 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003496/0.07705, allocations: 43.69 kB / 464.3 MB, free: 3.062 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.07738, allocations: 111.2 kB / 464.4 MB, free: 2.953 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007324/0.07813, allocations: 350.9 kB / 464.7 MB, free: 2.609 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000392/0.07854, allocations: 175.7 kB / 464.9 MB, free: 2.438 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004608/0.07902, allocations: 419.1 kB / 465.3 MB, free: 2.027 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00027/0.0793, allocations: 163.1 kB / 465.5 MB, free: 1.863 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003243/0.07964, allocations: 255 kB / 465.7 MB, free: 1.613 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003967/0.08005, allocations: 275.1 kB / 466 MB, free: 1.344 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.084e-05/0.08013, allocations: 20 kB / 466 MB, free: 1.324 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.062e-05/0.08022, allocations: 20 kB / 466 MB, free: 1.305 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.08041, allocations: 175.4 kB / 466.2 MB, free: 1.133 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.08053, allocations: 121.4 kB / 466.3 MB, free: 1.008 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003781/0.08092, allocations: 418.9 kB / 466.7 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.212e-06/0.08094, allocations: 0 / 466.7 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.08095, allocations: 8 kB / 466.7 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.598e-06/0.08097, allocations: 0 / 466.7 MB, free: 0.5898 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001288/0.08226, allocations: 0.81 MB / 467.5 MB, free: 15.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.08233, allocations: 12.02 kB / 467.6 MB, free: 15.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.08247, allocations: 63.25 kB / 467.6 MB, free: 15.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009146/0.0834, allocations: 469.6 kB / 468.1 MB, free: 15.15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/0.08346, allocations: 29 kB / 468.1 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-05/0.08356, allocations: 40 kB / 468.1 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.08464, allocations: 0.5312 MB / 468.7 MB, free: 14.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.08468, allocations: 4 kB / 468.7 MB, free: 14.51 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.016e-05/0.08476, allocations: 16 kB / 468.7 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.044e-05/0.08481, allocations: 20.98 kB / 468.7 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008696/0.08569, allocations: 387.6 kB / 469.1 MB, free: 14.1 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003063/0.08877, allocations: 1.947 MB / 471 MB, free: 12.04 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000722/0.08951, allocations: 331.6 kB / 471.4 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.08956, allocations: 0 / 471.4 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004575/0.09003, allocations: 276.3 kB / 471.6 MB, free: 11.4 MB / 314.7 MB Notification: Performance of pre-optimization done (n=35): time 2.472e-06/0.09005, allocations: 8 kB / 471.6 MB, free: 11.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.002698/0.09276, allocations: 1.448 MB / 473.1 MB, free: 9.812 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.09289, allocations: 166.2 kB / 473.3 MB, free: 9.613 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005233/0.09343, allocations: 385.9 kB / 473.6 MB, free: 9.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.676e-05/0.09349, allocations: 41.83 kB / 473.7 MB, free: 9.184 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002576/0.09376, allocations: 291.5 kB / 474 MB, free: 8.895 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.09392, allocations: 118.3 kB / 474.1 MB, free: 8.777 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.09396, allocations: 12 kB / 474.1 MB, free: 8.766 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002231/0.09419, allocations: 358.8 kB / 474.4 MB, free: 8.406 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002806/0.09448, allocations: 121 kB / 474.6 MB, free: 8.289 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004119/0.09491, allocations: 282.1 kB / 474.8 MB, free: 7.938 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003593/0.09528, allocations: 195.3 kB / 475 MB, free: 7.742 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.068e-06/0.0953, allocations: 7.938 kB / 475 MB, free: 7.734 MB / 314.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00122/0.09653, allocations: 0.6093 MB / 475.6 MB, free: 7.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.292e-05/0.0966, allocations: 38.14 kB / 475.7 MB, free: 7.051 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.09663, allocations: 11.94 kB / 475.7 MB, free: 7.039 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000148/0.09679, allocations: 32.84 kB / 475.7 MB, free: 7.004 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004921/0.0973, allocations: 99.83 kB / 475.8 MB, free: 6.906 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.09869, allocations: 1.385 MB / 477.2 MB, free: 5.387 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003346/0.09905, allocations: 23.98 kB / 477.2 MB, free: 5.363 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.786e-05/0.09913, allocations: 35.92 kB / 477.3 MB, free: 5.328 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003597/0.0995, allocations: 259.2 kB / 477.5 MB, free: 5.059 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.018e-05/0.0996, allocations: 51.39 kB / 477.6 MB, free: 5.008 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.1006, allocations: 0.5363 MB / 478.1 MB, free: 4.434 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.397e-06/0.1007, allocations: 4 kB / 478.1 MB, free: 4.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.043e-06/0.1007, allocations: 0 / 478.1 MB, free: 4.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.011e-06/0.1007, allocations: 7.922 kB / 478.1 MB, free: 4.422 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001798/0.1025, allocations: 1.073 MB / 479.2 MB, free: 3.262 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.165e-06/0.1025, allocations: 0 / 479.2 MB, free: 3.262 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003835/0.1029, allocations: 63.91 kB / 479.2 MB, free: 3.199 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-05/0.103, allocations: 20.84 kB / 479.3 MB, free: 3.176 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.832e-05/0.1031, allocations: 15.98 kB / 479.3 MB, free: 3.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/0.1044, allocations: 1.381 MB / 480.7 MB, free: 1.645 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1044, allocations: 3.938 kB / 480.7 MB, free: 1.641 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001405/0.1059, allocations: 0.8244 MB / 481.5 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/0.1061, allocations: 140.5 kB / 481.6 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.174e-05/0.1062, allocations: 12 kB / 481.6 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002803/0.1064, allocations: 20.05 kB / 481.7 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.789e-05/0.1065, allocations: 27.91 kB / 481.7 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.249e-05/0.1066, allocations: 31.95 kB / 481.7 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003582/0.107, allocations: 267.1 kB / 482 MB, free: 256 kB / 314.7 MB Notification: Performance of sort global known variables: time 6.77e-07/0.107, allocations: 0 / 482 MB, free: 256 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007097/0.1077, allocations: 100 kB / 482.1 MB, free: 156 kB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000179/0.1079, allocations: 129.9 kB / 482.2 MB, free: 20 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.109, allocations: 0.5144 MB / 482.7 MB, free: 15.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.27e-06/0.109, allocations: 0 / 482.7 MB, free: 15.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005894/0.1096, allocations: 378.1 kB / 483.1 MB, free: 15.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006019/0.1102, allocations: 89.42 kB / 483.2 MB, free: 15 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.1123, allocations: 1.2 MB / 484.4 MB, free: 13.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000712/0.113, allocations: 0.8937 MB / 485.3 MB, free: 12.85 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000396/0.1134, allocations: 84.31 kB / 485.3 MB, free: 12.76 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.1135, allocations: 31.44 kB / 485.4 MB, free: 12.73 MB / 330.7 MB Notification: Performance of SimCode: time 1.382e-06/0.1135, allocations: 4 kB / 485.4 MB, free: 12.73 MB / 330.7 MB Notification: Performance of Templates: time 0.01196/0.1255, allocations: 3.966 MB / 489.3 MB, free: 8.77 MB / 330.7 MB