Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001988/0.001988, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.556/1.556, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.3092/0.3092, allocations: 29.41 MB / 290.5 MB, free: 2.438 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.927e-05/3.077e-05, allocations: 2.312 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.01053/0.01056, allocations: 7.283 MB / 376.2 MB, free: 4.004 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003905/0.01446, allocations: 1.718 MB / 377.9 MB, free: 2.281 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003956/0.01486, allocations: 35.69 kB / 377.9 MB, free: 2.246 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007364/0.0156, allocations: 226.3 kB / 378.1 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0014/0.017, allocations: 0.606 MB / 378.7 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004761/0.01747, allocations: 215.6 kB / 379 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001609/0.01908, allocations: 1.289 MB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004013/0.01948, allocations: 215 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/0.02068, allocations: 0.7476 MB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001355/0.02204, allocations: 0.6194 MB / 381.8 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001392/0.02218, allocations: 64 kB / 381.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001722/0.02235, allocations: 64 kB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004422/0.02279, allocations: 363 kB / 382.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004384/0.02323, allocations: 295.3 kB / 382.6 MB, free: 13.56 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.02451, allocations: 0.9228 MB / 383.5 MB, free: 12.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.02452, allocations: 7.938 kB / 383.5 MB, free: 12.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.02452, allocations: 0 / 383.5 MB, free: 12.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.02453, allocations: 0 / 383.5 MB, free: 12.62 MB / 362.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.002363/0.02689, allocations: 1.323 MB / 384.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.02693, allocations: 19.98 kB / 384.9 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002652/0.0272, allocations: 152.3 kB / 385 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00143/0.02863, allocations: 0.6493 MB / 385.7 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.831e-05/0.02869, allocations: 49.62 kB / 385.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.0288, allocations: 64.36 kB / 385.8 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.03007, allocations: 0.7276 MB / 386.5 MB, free: 9.508 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.03009, allocations: 0 / 386.5 MB, free: 9.508 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.533e-05/0.03016, allocations: 32 kB / 386.5 MB, free: 9.477 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.715e-05/0.03021, allocations: 33.3 kB / 386.6 MB, free: 9.445 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008624/0.03108, allocations: 424.3 kB / 387 MB, free: 9.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004285/0.03536, allocations: 2.656 MB / 389.6 MB, free: 6.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009646/0.03633, allocations: 0.5197 MB / 390.2 MB, free: 5.711 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006342/0.03696, allocations: 336.1 kB / 390.5 MB, free: 5.363 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.153e-05/0.037, allocations: 8.5 kB / 390.5 MB, free: 5.355 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007437/0.03775, allocations: 0.5223 MB / 391 MB, free: 4.777 MB / 362.7 MB Notification: Performance of pre-optimization done (n=63): time 1.934e-06/0.03775, allocations: 0 / 391 MB, free: 4.777 MB / 362.7 MB Notification: Performance of matching and sorting (n=64): time 0.003151/0.0409, allocations: 1.822 MB / 392.8 MB, free: 2.859 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001944/0.04109, allocations: 255.8 kB / 393.1 MB, free: 2.551 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008502/0.04194, allocations: 0.6665 MB / 393.8 MB, free: 1.871 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.946e-05/0.04199, allocations: 41.7 kB / 393.8 MB, free: 1.824 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004563/0.04245, allocations: 479.2 kB / 394.3 MB, free: 1.348 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/0.04269, allocations: 234.2 kB / 394.5 MB, free: 1.117 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002645/0.04295, allocations: 172.2 kB / 394.7 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004226/0.04337, allocations: 0.5976 MB / 395.3 MB, free: 340 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004627/0.04384, allocations: 201.3 kB / 395.5 MB, free: 128 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006907/0.04453, allocations: 0.531 MB / 396 MB, free: 15.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.04557, allocations: 0.7679 MB / 396.8 MB, free: 14.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.04558, allocations: 0 / 396.8 MB, free: 14.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001669/0.04725, allocations: 0.8973 MB / 397.6 MB, free: 13.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.988e-05/0.04732, allocations: 59.41 kB / 397.7 MB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.04733, allocations: 11.94 kB / 397.7 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005281/0.04786, allocations: 119.8 kB / 397.8 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005969/0.04846, allocations: 151.7 kB / 398 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004514/0.05297, allocations: 4.396 MB / 402.4 MB, free: 8.586 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004634/0.05343, allocations: 35.97 kB / 402.4 MB, free: 8.551 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.088e-05/0.05352, allocations: 51.97 kB / 402.5 MB, free: 8.5 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,tapRelay1.cnt_2,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_1,$whenCondition4,$whenCondition3,tapRelay2.cnt_2,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_1,$whenCondition2,$whenCondition1,tapRelay1.tap_2,$PRE.tapRelay1.tap_2,tapRelay1.tap_1,$PRE.tapRelay1.tap_1,tapRelay2.tap_2,$PRE.tapRelay2.tap_2,tapRelay2.tap_1,$PRE.tapRelay2.tap_1) * 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.0004128/0.05394, allocations: 309.7 kB / 402.8 MB, free: 8.176 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.0541, allocations: 103.5 kB / 402.9 MB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.05538, allocations: 0.7521 MB / 403.6 MB, free: 7.285 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.05539, allocations: 7.938 kB / 403.6 MB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.0554, allocations: 4 kB / 403.6 MB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.0554, allocations: 3.984 kB / 403.6 MB, free: 7.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002543/0.05795, allocations: 1.513 MB / 405.1 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.05795, allocations: 0 / 405.1 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005307/0.05848, allocations: 112 kB / 405.3 MB, free: 5.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/0.05849, allocations: 8 kB / 405.3 MB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.81e-05/0.05854, allocations: 19.98 kB / 405.3 MB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.05855, allocations: 4 kB / 405.3 MB, free: 5.539 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.05855, allocations: 4 kB / 405.3 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.06032, allocations: 1.258 MB / 406.6 MB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002701/0.06059, allocations: 103.5 kB / 406.7 MB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.588e-05/0.06068, allocations: 20 kB / 406.7 MB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/0.06098, allocations: 27.91 kB / 406.7 MB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.06109, allocations: 40.42 kB / 406.7 MB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.06119, allocations: 67.86 kB / 406.8 MB, free: 3.949 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004884/0.06168, allocations: 398.7 kB / 407.2 MB, free: 3.562 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06168, allocations: 0 / 407.2 MB, free: 3.562 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007213/0.0624, allocations: 176 kB / 407.4 MB, free: 3.391 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.0001669/0.06257, allocations: 120.2 kB / 407.5 MB, free: 3.262 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00172/0.06429, allocations: 1.151 MB / 408.6 MB, free: 2.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.06429, allocations: 0 / 408.6 MB, free: 2.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006011/0.06489, allocations: 465.9 kB / 409.1 MB, free: 1.527 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008539/0.06574, allocations: 173.8 kB / 409.3 MB, free: 1.371 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/0.06845, allocations: 1.468 MB / 410.7 MB, free: 15.83 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004922/0.06894, allocations: 397.1 kB / 411.1 MB, free: 15.41 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003876/0.06933, allocations: 141.6 kB / 411.3 MB, free: 15.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.06946, allocations: 48.5 kB / 411.3 MB, free: 15.23 MB / 394.7 MB Notification: Performance of SimCode: time 8.11e-07/0.06946, allocations: 0 / 411.3 MB, free: 15.23 MB / 394.7 MB Notification: Performance of Templates: time 0.01619/0.08564, allocations: 7.578 MB / 418.9 MB, free: 7.789 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.071199601981789]