Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009605/0.0009605, allocations: 179.6 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 225.7 MB / 243.2 MB, free: 8.441 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008073/0.0008074, allocations: 97.66 kB / 294.4 MB, free: 9.488 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.34/0.34, allocations: 38.12 MB / 383.6 MB, free: 40.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002939/0.0002939, allocations: 8 kB / 453.5 MB, free: 8.781 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3355, allocations: 59.14 MB / 0.5006 GB, free: 39.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.006475/0.342, allocations: 5.945 MB / 0.5064 GB, free: 37.69 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003075/0.3451, allocations: 2.081 MB / 0.5084 GB, free: 36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000419/0.3456, allocations: 40.28 kB / 0.5085 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000463/0.346, allocations: 114.9 kB / 0.5086 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000913/0.347, allocations: 345.1 kB / 0.5089 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.3473, allocations: 131.3 kB / 0.509 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001202/0.3485, allocations: 1.155 MB / 0.5102 GB, free: 35.3 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003252/0.3488, allocations: 181 kB / 0.5103 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004579/0.3493, allocations: 305.2 kB / 0.5106 GB, free: 35.12 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006473/0.35, allocations: 401.7 kB / 0.511 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.918e-05/0.35, allocations: 20.72 kB / 0.511 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.736e-05/0.3501, allocations: 22.19 kB / 0.5111 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002106/0.3503, allocations: 179.6 kB / 0.5112 GB, free: 34.93 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002274/0.3506, allocations: 282.5 kB / 0.5115 GB, free: 34.75 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000409/0.351, allocations: 0.5439 MB / 0.512 GB, free: 34.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.351, allocations: 0.625 kB / 0.512 GB, free: 34.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.351, allocations: 0 / 0.512 GB, free: 34.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.351, allocations: 1.594 kB / 0.512 GB, free: 34.57 MB / 378.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.001161/0.3522, allocations: 0.7951 MB / 0.5128 GB, free: 33.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.3523, allocations: 12.94 kB / 0.5128 GB, free: 33.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.3524, allocations: 62.81 kB / 0.5129 GB, free: 33.94 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006565/0.353, allocations: 489.9 kB / 0.5133 GB, free: 33.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.3531, allocations: 34.31 kB / 0.5134 GB, free: 33.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.72e-05/0.3531, allocations: 43.94 kB / 0.5134 GB, free: 33.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007023/0.3539, allocations: 0.5279 MB / 0.5139 GB, free: 33.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.3539, allocations: 0 / 0.5139 GB, free: 33.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.002e-05/0.3539, allocations: 17.84 kB / 0.514 GB, free: 33.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.623e-05/0.354, allocations: 18.84 kB / 0.514 GB, free: 33.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005591/0.3545, allocations: 390.9 kB / 0.5143 GB, free: 33.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002021/0.3566, allocations: 1.94 MB / 0.5162 GB, free: 31.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005003/0.3571, allocations: 337 kB / 0.5166 GB, free: 31.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002618/0.3574, allocations: 180.2 kB / 0.5167 GB, free: 31.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.3574, allocations: 9.422 kB / 0.5167 GB, free: 31.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003529/0.3578, allocations: 294.3 kB / 0.517 GB, free: 31.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 1.453e-06/0.3578, allocations: 0 / 0.517 GB, free: 31.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.00173/0.3595, allocations: 1.169 MB / 0.5182 GB, free: 30.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.139e-05/0.3596, allocations: 170.1 kB / 0.5183 GB, free: 30.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003306/0.3599, allocations: 391.7 kB / 0.5187 GB, free: 30.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.3599, allocations: 32.48 kB / 0.5187 GB, free: 30.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.3601, allocations: 295 kB / 0.519 GB, free: 29.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.399e-05/0.3602, allocations: 115.9 kB / 0.5191 GB, free: 29.85 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.817e-05/0.3602, allocations: 10.06 kB / 0.5191 GB, free: 29.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.021e-05/0.3603, allocations: 356.6 kB / 0.5195 GB, free: 29.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.3605, allocations: 128.4 kB / 0.5196 GB, free: 29.47 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.3607, allocations: 278.6 kB / 0.5199 GB, free: 29.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004184/0.3612, allocations: 486.5 kB / 0.5203 GB, free: 28.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3612, allocations: 2.844 kB / 0.5203 GB, free: 28.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0005968/0.3618, allocations: 0.5112 MB / 0.5208 GB, free: 28.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.3618, allocations: 37.08 kB / 0.5209 GB, free: 28.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.3618, allocations: 9.938 kB / 0.5209 GB, free: 28.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.3619, allocations: 12.28 kB / 0.5209 GB, free: 28.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004034/0.3623, allocations: 112.2 kB / 0.521 GB, free: 28.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.3623, allocations: 12.16 kB / 0.521 GB, free: 28.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/0.3625, allocations: 21.61 kB / 0.521 GB, free: 28.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.159e-05/0.3626, allocations: 36.11 kB / 0.5211 GB, free: 28.52 MB / 378.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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002193/0.3628, allocations: 243.5 kB / 0.5213 GB, free: 28.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.536e-05/0.3629, allocations: 55.16 kB / 0.5213 GB, free: 28.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005746/0.3634, allocations: 455.3 kB / 0.5218 GB, free: 28.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3634, allocations: 2.938 kB / 0.5218 GB, free: 28.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.3635, allocations: 0 / 0.5218 GB, free: 28.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.3635, allocations: 6.031 kB / 0.5218 GB, free: 28.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.3645, allocations: 0.9638 MB / 0.5227 GB, free: 27.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3645, allocations: 3 kB / 0.5227 GB, free: 27.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003108/0.3648, allocations: 62.55 kB / 0.5228 GB, free: 27.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3648, allocations: 6.875 kB / 0.5228 GB, free: 27.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/0.3649, allocations: 14.56 kB / 0.5228 GB, free: 27.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.3649, allocations: 3.031 kB / 0.5228 GB, free: 27.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3649, allocations: 0 / 0.5228 GB, free: 27.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007483/0.3656, allocations: 0.7083 MB / 0.5235 GB, free: 27.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.3658, allocations: 140.6 kB / 0.5236 GB, free: 27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.677e-05/0.3658, allocations: 9.969 kB / 0.5236 GB, free: 26.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.366, allocations: 16.23 kB / 0.5237 GB, free: 26.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.785e-05/0.3661, allocations: 23.39 kB / 0.5237 GB, free: 26.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.293e-05/0.3662, allocations: 31.98 kB / 0.5237 GB, free: 26.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001987/0.3664, allocations: 265.7 kB / 0.524 GB, free: 26.85 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3664, allocations: 3.938 kB / 0.524 GB, free: 26.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003911/0.3668, allocations: 110.3 kB / 0.5241 GB, free: 26.82 MB / 378.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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001115/0.3669, allocations: 120.1 kB / 0.5242 GB, free: 26.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004859/0.3674, allocations: 412 kB / 0.5246 GB, free: 26.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3674, allocations: 0 / 0.5246 GB, free: 26.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002412/0.3676, allocations: 262.6 kB / 0.5248 GB, free: 26.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005723/0.3682, allocations: 96.25 kB / 0.5249 GB, free: 26.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.3696, allocations: 1.222 MB / 0.5261 GB, free: 25.64 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.3699, allocations: 0.8823 MB / 0.527 GB, free: 24.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002823/0.3701, allocations: 91.69 kB / 0.5271 GB, free: 24.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.085e-05/0.3702, allocations: 36.27 kB / 0.5271 GB, free: 24.89 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3702, allocations: 0 / 0.5271 GB, free: 24.89 MB / 378.7 MB Notification: Performance of Templates: time 0.007242/0.3775, allocations: 3.907 MB / 0.5309 GB, free: 24.57 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1)