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.0009148/0.0009148, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001106/0.001106, allocations: 163.6 kB / 24.99 MB, free: 8.746 MB / 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.006/1.006, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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.2518/0.2518, allocations: 29.42 MB / 291.2 MB, free: 2.512 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.483e-06/1.483e-06, allocations: 0 / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.72e-05/2.869e-05, allocations: 9.828 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Transformation.TapChanger): time 0.007705/0.007734, allocations: 7.36 MB / 377 MB, free: 3.922 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002934/0.01067, allocations: 1.71 MB / 378.7 MB, free: 2.207 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005139/0.01118, allocations: 43.62 kB / 378.7 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006642/0.01185, allocations: 222.3 kB / 379 MB, free: 1.945 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001295/0.01314, allocations: 0.606 MB / 379.6 MB, free: 1.336 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004524/0.01359, allocations: 215.6 kB / 379.8 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001404/0.015, allocations: 1.292 MB / 381.1 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003668/0.01536, allocations: 215 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001364/0.01673, allocations: 0.7477 MB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.01774, allocations: 0.6116 MB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.01785, allocations: 68 kB / 382.7 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.01799, allocations: 64 kB / 382.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003047/0.01829, allocations: 363 kB / 383.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000319/0.01861, allocations: 299.3 kB / 383.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008159/0.01942, allocations: 0.6616 MB / 384.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.01943, allocations: 3.984 kB / 384.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01943, allocations: 0 / 384.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.692e-05/0.01945, allocations: 0 / 384.1 MB, free: 12.81 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.001623/0.02107, allocations: 1.28 MB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.02111, allocations: 11.98 kB / 385.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002007/0.02131, allocations: 156.3 kB / 385.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009399/0.02225, allocations: 0.6493 MB / 386.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.02229, allocations: 49.69 kB / 386.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.978e-05/0.02237, allocations: 60.38 kB / 386.3 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008266/0.0232, allocations: 0.6651 MB / 386.9 MB, free: 9.805 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.02321, allocations: 3.938 kB / 386.9 MB, free: 9.801 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.697e-05/0.02326, allocations: 24 kB / 387 MB, free: 9.777 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-05/0.02331, allocations: 41.28 kB / 387 MB, free: 9.738 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005603/0.02387, allocations: 370.9 kB / 387.4 MB, free: 9.363 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002485/0.02636, allocations: 2.503 MB / 389.9 MB, free: 6.766 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006731/0.02703, allocations: 496.2 kB / 390.4 MB, free: 6.242 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004203/0.02745, allocations: 304.1 kB / 390.7 MB, free: 5.926 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-05/0.02748, allocations: 12.5 kB / 390.7 MB, free: 5.914 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004559/0.02793, allocations: 482.9 kB / 391.1 MB, free: 5.387 MB / 362.7 MB Notification: Performance of pre-optimization done (n=63): time 2.525e-06/0.02794, allocations: 0 / 391.1 MB, free: 5.387 MB / 362.7 MB Notification: Performance of matching and sorting (n=64): time 0.002202/0.03014, allocations: 1.729 MB / 392.9 MB, free: 3.562 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.03025, allocations: 251.8 kB / 393.1 MB, free: 3.262 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005246/0.03077, allocations: 0.5689 MB / 393.7 MB, free: 2.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.03081, allocations: 41.7 kB / 393.7 MB, free: 2.633 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002781/0.03109, allocations: 463.1 kB / 394.2 MB, free: 2.172 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.03124, allocations: 222.2 kB / 394.4 MB, free: 1.953 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001683/0.03141, allocations: 148.3 kB / 394.5 MB, free: 1.801 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.03161, allocations: 0.5703 MB / 395.1 MB, free: 1.219 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/0.03184, allocations: 173.3 kB / 395.3 MB, free: 1.039 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003919/0.03223, allocations: 499.7 kB / 395.8 MB, free: 412 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000677/0.03291, allocations: 0.6858 MB / 396.4 MB, free: 15.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.03291, allocations: 4 kB / 396.4 MB, free: 15.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.0008967/0.03381, allocations: 0.8307 MB / 397.3 MB, free: 14.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.448e-05/0.03385, allocations: 63.41 kB / 397.3 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.03386, allocations: 4 kB / 397.3 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003056/0.03417, allocations: 115.8 kB / 397.5 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.03456, allocations: 155.7 kB / 397.6 MB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002668/0.03723, allocations: 4.248 MB / 401.9 MB, free: 9.836 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003891/0.03762, allocations: 32.23 kB / 401.9 MB, free: 9.805 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.561e-05/0.03768, allocations: 51.97 kB / 401.9 MB, free: 9.754 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.0003343/0.03802, allocations: 285.8 kB / 402.2 MB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.03812, allocations: 107.5 kB / 402.3 MB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006982/0.03882, allocations: 0.7129 MB / 403 MB, free: 8.598 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.03882, allocations: 4 kB / 403 MB, free: 8.594 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.03883, allocations: 4 kB / 403 MB, free: 8.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.03883, allocations: 3.984 kB / 403 MB, free: 8.586 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001547/0.04038, allocations: 1.368 MB / 404.4 MB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.04038, allocations: 0 / 404.4 MB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002965/0.04068, allocations: 107.9 kB / 404.5 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.04069, allocations: 0 / 404.5 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/0.04072, allocations: 23.98 kB / 404.5 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/0.04072, allocations: 4 kB / 404.6 MB, free: 7.012 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.04073, allocations: 0 / 404.6 MB, free: 7.012 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.04176, allocations: 1.148 MB / 405.7 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001787/0.04193, allocations: 99.48 kB / 405.8 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.725e-05/0.04199, allocations: 23.98 kB / 405.8 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.04215, allocations: 23.98 kB / 405.8 MB, free: 5.641 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.765e-05/0.04224, allocations: 44.36 kB / 405.9 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.148e-05/0.0423, allocations: 63.86 kB / 405.9 MB, free: 5.535 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002653/0.04257, allocations: 350.7 kB / 406.3 MB, free: 5.195 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.04257, allocations: 0 / 406.3 MB, free: 5.195 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006058/0.04317, allocations: 180 kB / 406.5 MB, free: 5.02 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.0001744/0.04335, allocations: 128.1 kB / 406.6 MB, free: 4.883 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.0444, allocations: 1.065 MB / 407.7 MB, free: 3.727 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.0444, allocations: 0 / 407.7 MB, free: 3.727 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003243/0.04472, allocations: 417.9 kB / 408.1 MB, free: 3.281 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005406/0.04527, allocations: 172.2 kB / 408.2 MB, free: 3.125 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.04753, allocations: 1.441 MB / 409.7 MB, free: 1.609 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001514/0.04768, allocations: 211.4 kB / 409.9 MB, free: 1.383 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002978/0.04798, allocations: 133.7 kB / 410 MB, free: 1.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.143e-05/0.04807, allocations: 52.5 kB / 410.1 MB, free: 1.199 MB / 378.7 MB Notification: Performance of SimCode: time 1.743e-06/0.04807, allocations: 0 / 410.1 MB, free: 1.199 MB / 378.7 MB Notification: Performance of Templates: time 0.0108/0.05886, allocations: 7.634 MB / 417.7 MB, free: 9.703 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: 3.2666955119930208]