Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.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.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 184 kB / 16.71 MB, free: 4.961 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.404/1.404, allocations: 225.7 MB / 243.2 MB, free: 8.461 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.000764/0.0007638, allocations: 101.5 kB / 294.4 MB, free: 9.508 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.3329/0.3329, allocations: 38.12 MB / 383.6 MB, free: 40.3 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004667/0.0004668, allocations: 8 kB / 453.5 MB, free: 8.809 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3916, allocations: 59.14 MB / 0.5006 GB, free: 39.08 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.008237/0.3999, allocations: 8.12 MB / 0.5085 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004713/0.4046, allocations: 2.696 MB / 0.5112 GB, free: 33.97 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.4058, allocations: 55.88 kB / 0.5112 GB, free: 33.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006824/0.4065, allocations: 209.1 kB / 0.5114 GB, free: 33.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001331/0.4078, allocations: 0.5393 MB / 0.5119 GB, free: 33.56 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005964/0.4084, allocations: 191.6 kB / 0.5121 GB, free: 33.46 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001947/0.4104, allocations: 1.942 MB / 0.514 GB, free: 32.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004608/0.4109, allocations: 293.8 kB / 0.5143 GB, free: 32.74 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007146/0.4116, allocations: 478.9 kB / 0.5148 GB, free: 32.55 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.4127, allocations: 0.6546 MB / 0.5154 GB, free: 32.32 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.835e-05/0.4128, allocations: 34.75 kB / 0.5154 GB, free: 32.32 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.4129, allocations: 32.5 kB / 0.5155 GB, free: 32.32 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003242/0.4132, allocations: 298.5 kB / 0.5157 GB, free: 32.24 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003968/0.4136, allocations: 426.2 kB / 0.5162 GB, free: 31.98 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008368/0.4145, allocations: 0.8509 MB / 0.517 GB, free: 31.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4145, allocations: 0 / 0.517 GB, free: 31.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.4145, allocations: 4 kB / 0.517 GB, free: 31.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.4145, allocations: 1.031 kB / 0.517 GB, free: 31.7 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001765/0.4163, allocations: 1.086 MB / 0.5181 GB, free: 30.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.4163, allocations: 8.719 kB / 0.5181 GB, free: 30.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.4165, allocations: 97.88 kB / 0.5182 GB, free: 30.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009635/0.4175, allocations: 0.6702 MB / 0.5188 GB, free: 30.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.342e-05/0.4175, allocations: 50.97 kB / 0.5189 GB, free: 30.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.4176, allocations: 57.06 kB / 0.5189 GB, free: 30.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.4188, allocations: 0.8044 MB / 0.5197 GB, free: 30.06 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.4188, allocations: 3.938 kB / 0.5197 GB, free: 30.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.872e-05/0.4189, allocations: 32.95 kB / 0.5197 GB, free: 30.03 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-05/0.4189, allocations: 33.28 kB / 0.5198 GB, free: 30.03 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008314/0.4198, allocations: 0.6083 MB / 0.5204 GB, free: 29.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002761/0.4225, allocations: 2.644 MB / 0.5229 GB, free: 28.1 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008055/0.4234, allocations: 0.5995 MB / 0.5235 GB, free: 27.83 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005062/0.4239, allocations: 372.9 kB / 0.5239 GB, free: 27.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.4239, allocations: 5.938 kB / 0.5239 GB, free: 27.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005018/0.4244, allocations: 488.5 kB / 0.5244 GB, free: 27.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 2.024e-06/0.4245, allocations: 2.875 kB / 0.5244 GB, free: 27.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=64): time 0.002348/0.4268, allocations: 1.964 MB / 0.5263 GB, free: 26.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.703e-05/0.4269, allocations: 259.8 kB / 0.5265 GB, free: 26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005203/0.4274, allocations: 0.557 MB / 0.5271 GB, free: 25.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.4275, allocations: 42.66 kB / 0.5271 GB, free: 25.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.4277, allocations: 394.9 kB / 0.5275 GB, free: 25.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.4278, allocations: 215.4 kB / 0.5277 GB, free: 25.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/0.4279, allocations: 14.91 kB / 0.5277 GB, free: 25.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.428, allocations: 380.9 kB / 0.5281 GB, free: 24.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002909/0.4283, allocations: 225.8 kB / 0.5283 GB, free: 24.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004188/0.4287, allocations: 459.3 kB / 0.5287 GB, free: 24.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008011/0.4295, allocations: 0.7912 MB / 0.5295 GB, free: 23.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.4295, allocations: 3.281 kB / 0.5295 GB, free: 23.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001441/0.431, allocations: 0.942 MB / 0.5304 GB, free: 23.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.248e-05/0.431, allocations: 64.97 kB / 0.5305 GB, free: 23.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.4311, allocations: 5.75 kB / 0.5305 GB, free: 23.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004137/0.4315, allocations: 111.9 kB / 0.5306 GB, free: 23.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005875/0.4321, allocations: 146.6 kB / 0.5307 GB, free: 23.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001967/0.4341, allocations: 2.996 MB / 0.5337 GB, free: 20.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003902/0.4345, allocations: 47.84 kB / 0.5337 GB, free: 20.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.515e-05/0.4345, allocations: 50.5 kB / 0.5337 GB, free: 20.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 (system.initime,$whenCondition3,$whenCondition4,$PRE.tapRelay1.cnt_1,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_2,$whenCondition1,$whenCondition2,$PRE.tapRelay2.cnt_1,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_2,$PRE.tapRelay2.tap_1,tapRelay2.tap_1,$PRE.tapRelay2.tap_2,tapRelay2.tap_2,$PRE.tapRelay1.tap_1,tapRelay1.tap_1,$PRE.tapRelay1.tap_2,tapRelay1.tap_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003406/0.4349, allocations: 359.5 kB / 0.5341 GB, free: 20.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.765e-05/0.435, allocations: 73.78 kB / 0.5342 GB, free: 20.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008843/0.4359, allocations: 0.7806 MB / 0.5349 GB, free: 19.8 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.4359, allocations: 10.28 kB / 0.5349 GB, free: 19.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.4359, allocations: 3.344 kB / 0.5349 GB, free: 19.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.4359, allocations: 0 / 0.5349 GB, free: 19.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/0.4375, allocations: 1.533 MB / 0.5364 GB, free: 19.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4375, allocations: 3.938 kB / 0.5364 GB, free: 19.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004815/0.438, allocations: 122.3 kB / 0.5366 GB, free: 19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.438, allocations: 3.125 kB / 0.5366 GB, free: 19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.659e-05/0.4381, allocations: 25.86 kB / 0.5366 GB, free: 18.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.4381, allocations: 3.312 kB / 0.5366 GB, free: 18.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4381, allocations: 7.188 kB / 0.5366 GB, free: 18.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001187/0.4393, allocations: 1.196 MB / 0.5378 GB, free: 18.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001847/0.4395, allocations: 191.9 kB / 0.5379 GB, free: 18.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.653e-05/0.4396, allocations: 14.47 kB / 0.538 GB, free: 18.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002981/0.4399, allocations: 41.61 kB / 0.538 GB, free: 18.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.44, allocations: 38.05 kB / 0.538 GB, free: 18.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.934e-05/0.4401, allocations: 60.3 kB / 0.5381 GB, free: 18.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003457/0.4404, allocations: 384.4 kB / 0.5385 GB, free: 18.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4404, allocations: 3.344 kB / 0.5385 GB, free: 18.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005555/0.441, allocations: 179.7 kB / 0.5386 GB, free: 18.03 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (trafo1.i1,trafo2.i1) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tapRelay2.tap_1,tapRelay2.tap_2,tapRelay2.cnt_1,tapRelay2.cnt_2,tapRelay1.tap_1,tapRelay1.tap_2,tapRelay1.cnt_1,tapRelay1.cnt_2,system.initime) * Number of discrete states: 12 (tapRelay1.tap_2,tapRelay1.cnt_2,$whenCondition4,tapRelay1.tap_1,tapRelay1.cnt_1,$whenCondition3,tapRelay2.tap_2,tapRelay2.cnt_2,$whenCondition2,tapRelay2.tap_1,tapRelay2.cnt_1,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * 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.0001336/0.4411, allocations: 143.2 kB / 0.5388 GB, free: 17.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001213/0.4424, allocations: 1.009 MB / 0.5398 GB, free: 17.35 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4424, allocations: 0 / 0.5398 GB, free: 17.35 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004141/0.4428, allocations: 490.3 kB / 0.5402 GB, free: 17.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007497/0.4436, allocations: 155.8 kB / 0.5404 GB, free: 17.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.4456, allocations: 1.891 MB / 0.5422 GB, free: 15.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/0.4461, allocations: 1.009 MB / 0.5432 GB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004324/0.4465, allocations: 159.4 kB / 0.5434 GB, free: 15.15 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.4466, allocations: 49.03 kB / 0.5434 GB, free: 15.14 MB / 378.7 MB Notification: Performance of SimCode: time 5.71e-07/0.4466, allocations: 0 / 0.5434 GB, free: 15.14 MB / 378.7 MB Notification: Performance of Templates: time 0.01424/0.4609, allocations: 6.874 MB / 0.5501 GB, free: 14.62 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1)