Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.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.0009995/0.0009996, allocations: 175.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.373/1.373, allocations: 225.7 MB / 243.2 MB, free: 10.19 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.0007546/0.0007543, allocations: 90.31 kB / 294.4 MB, free: 9.738 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.3186/0.3186, allocations: 38.11 MB / 383.6 MB, free: 40.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003657, allocations: 11.98 kB / 453.5 MB, free: 8.855 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3095, allocations: 59.13 MB / 0.5006 GB, free: 38.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transformation.TapChanger): time 0.00877/0.3183, allocations: 9.744 MB / 0.5101 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007525/0.3259, allocations: 6.519 MB / 0.5165 GB, free: 28.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001572/0.3275, allocations: 68.19 kB / 0.5165 GB, free: 28.88 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.3286, allocations: 359 kB / 0.5169 GB, free: 28.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002301/0.3309, allocations: 1.056 MB / 0.5179 GB, free: 28.18 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.3324, allocations: 0.6259 MB / 0.5185 GB, free: 27.89 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00348/0.3359, allocations: 4.129 MB / 0.5226 GB, free: 26.72 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001914/0.3378, allocations: 1.749 MB / 0.5243 GB, free: 25.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001756/0.3396, allocations: 0.8407 MB / 0.5251 GB, free: 25.08 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00163/0.3412, allocations: 1.37 MB / 0.5264 GB, free: 24.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001496/0.3414, allocations: 66.03 kB / 0.5265 GB, free: 24.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.3426, allocations: 0.5381 MB / 0.527 GB, free: 24.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006303/0.3432, allocations: 0.8477 MB / 0.5278 GB, free: 24.31 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006804/0.3439, allocations: 0.8372 MB / 0.5287 GB, free: 23.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001679/0.3456, allocations: 2.222 MB / 0.5308 GB, free: 23.17 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.3456, allocations: 0 / 0.5308 GB, free: 23.17 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3456, allocations: 2.844 kB / 0.5308 GB, free: 23.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.756e-05/0.3457, allocations: 0 / 0.5308 GB, free: 23.17 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: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.002809/0.3485, allocations: 1.677 MB / 0.5325 GB, free: 22.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.3485, allocations: 8.844 kB / 0.5325 GB, free: 22.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/0.3502, allocations: 360.9 kB / 0.5328 GB, free: 21.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001695/0.3519, allocations: 1.027 MB / 0.5338 GB, free: 21.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.591e-05/0.352, allocations: 102.9 kB / 0.5339 GB, free: 21.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003226/0.3523, allocations: 167 kB / 0.5341 GB, free: 21.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002608/0.355, allocations: 2.315 MB / 0.5363 GB, free: 20.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.55e-05/0.355, allocations: 10.38 kB / 0.5364 GB, free: 20.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.3551, allocations: 67.78 kB / 0.5364 GB, free: 20.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004158/0.3556, allocations: 223.2 kB / 0.5366 GB, free: 20.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002377/0.3579, allocations: 1.834 MB / 0.5384 GB, free: 19.53 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008671/0.3666, allocations: 9.581 MB / 0.5478 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001882/0.3685, allocations: 1.536 MB / 0.5493 GB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008498/0.3694, allocations: 0.6024 MB / 0.5499 GB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.396e-05/0.3695, allocations: 20.77 kB / 0.5499 GB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001087/0.3706, allocations: 0.8533 MB / 0.5507 GB, free: 11.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=130): time 3.166e-06/0.3706, allocations: 0 / 0.5507 GB, free: 11.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=131): time 0.005471/0.3761, allocations: 3.99 MB / 0.5546 GB, free: 9.137 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.86e-05/0.3762, allocations: 287.7 kB / 0.5549 GB, free: 8.816 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.3773, allocations: 0.906 MB / 0.5558 GB, free: 8.449 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.27e-05/0.3773, allocations: 49.36 kB / 0.5558 GB, free: 8.402 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004692/0.3778, allocations: 0.7693 MB / 0.5566 GB, free: 7.801 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002827/0.3781, allocations: 452.2 kB / 0.557 GB, free: 7.453 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.831e-05/0.3782, allocations: 35.44 kB / 0.557 GB, free: 7.426 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.3784, allocations: 432.9 kB / 0.5575 GB, free: 7.066 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008967/0.3793, allocations: 0.5739 MB / 0.558 GB, free: 6.891 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/0.3804, allocations: 1.167 MB / 0.5592 GB, free: 5.957 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002094/0.3825, allocations: 1.989 MB / 0.5611 GB, free: 4.438 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/0.3825, allocations: 5.844 kB / 0.5611 GB, free: 4.438 MB / 378.7 MB Notification: Performance of matching and sorting (n=227) (initialization): time 0.004136/0.3866, allocations: 2.477 MB / 0.5635 GB, free: 3.129 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.438e-05/0.3867, allocations: 74.42 kB / 0.5636 GB, free: 3.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002576/0.3893, allocations: 1.557 MB / 0.5651 GB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001475/0.3908, allocations: 0.5476 MB / 0.5656 GB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.3919, allocations: 334.9 kB / 0.566 GB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00898/0.4009, allocations: 8.69 MB / 0.5745 GB, free: 9.105 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.4021, allocations: 80.03 kB / 0.5745 GB, free: 9.027 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/0.4023, allocations: 99.95 kB / 0.5746 GB, free: 8.93 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (175): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (2,11,100.0%), (2,12,100.0%), (2,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009162/0.4032, allocations: 0.5964 MB / 0.5752 GB, free: 8.312 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.4034, allocations: 126.5 kB / 0.5753 GB, free: 8.188 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002205/0.4056, allocations: 1.527 MB / 0.5768 GB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.4056, allocations: 12 kB / 0.5768 GB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4056, allocations: 7.938 kB / 0.5768 GB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.4056, allocations: 11.97 kB / 0.5768 GB, free: 6.602 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00449/0.4101, allocations: 3.072 MB / 0.5798 GB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.4102, allocations: 0 / 0.5798 GB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/0.4114, allocations: 295.6 kB / 0.5801 GB, free: 3.152 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-05/0.4115, allocations: 12.19 kB / 0.5801 GB, free: 3.141 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.483e-05/0.4115, allocations: 31.98 kB / 0.5802 GB, free: 3.109 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.127e-05/0.4116, allocations: 11.98 kB / 0.5802 GB, free: 3.098 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4116, allocations: 0 / 0.5802 GB, free: 3.098 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002979/0.4146, allocations: 2.312 MB / 0.5824 GB, free: 0.7383 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005403/0.4151, allocations: 295.5 kB / 0.5827 GB, free: 440 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.4153, allocations: 28 kB / 0.5828 GB, free: 412 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005126/0.4158, allocations: 47.97 kB / 0.5828 GB, free: 364 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/0.416, allocations: 88.77 kB / 0.5829 GB, free: 276 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/0.4161, allocations: 75.92 kB / 0.583 GB, free: 200 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008054/0.4169, allocations: 0.5869 MB / 0.5835 GB, free: 15.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4169, allocations: 0 / 0.5835 GB, free: 15.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00134/0.4183, allocations: 428 kB / 0.5839 GB, free: 15.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (trafo1.i1[1],trafo1.i1[2],trafo1.i1[3],trafo2.i1[1],trafo2.i1[2],trafo2.i1[3]) * 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 (121): * Single equations (assignments): 118 * 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.0001913/0.4185, allocations: 153 kB / 0.5841 GB, free: 15.02 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003059/0.4215, allocations: 2.303 MB / 0.5863 GB, free: 12.64 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4215, allocations: 0 / 0.5863 GB, free: 12.64 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001004/0.4226, allocations: 0.8712 MB / 0.5872 GB, free: 11.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.4237, allocations: 211.8 kB / 0.5874 GB, free: 11.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005245/0.429, allocations: 4.179 MB / 0.5915 GB, free: 7.312 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/0.43, allocations: 1.457 MB / 0.5929 GB, free: 5.824 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001139/0.4312, allocations: 478.3 kB / 0.5933 GB, free: 5.352 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/0.4314, allocations: 91.42 kB / 0.5934 GB, free: 5.262 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.4314, allocations: 0 / 0.5934 GB, free: 5.262 MB / 410.7 MB Notification: Performance of Templates: time 0.02525/0.4567, allocations: 14.37 MB / 0.6075 GB, free: 6.922 MB / 426.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1)