Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.001459/0.001459, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.001654/0.001654, allocations: 207 kB / 23.73 MB, free: 4.387 MB / 14.72 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.575/1.575, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 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.1856/0.1856, allocations: 38.56 MB / 352.5 MB, free: 12.3 MB / 286.1 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.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002334/0.002334, allocations: 63.89 kB / 493 MB, free: 4.172 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.397, allocations: 62.46 MB / 0.5424 GB, free: 412 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.007708/0.4047, allocations: 5.322 MB / 0.5476 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00286/0.4076, allocations: 1.316 MB / 0.5489 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000313/0.4079, allocations: 26.66 kB / 0.5489 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005206/0.4084, allocations: 126.8 kB / 0.5491 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009864/0.4094, allocations: 392.4 kB / 0.5494 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003731/0.4098, allocations: 150.6 kB / 0.5496 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009877/0.4107, allocations: 0.7772 MB / 0.5503 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002783/0.411, allocations: 137.2 kB / 0.5505 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006066/0.4116, allocations: 369 kB / 0.5508 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006537/0.4123, allocations: 400.6 kB / 0.5512 GB, free: 9.828 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.042e-05/0.4124, allocations: 41.09 kB / 0.5512 GB, free: 9.828 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.4125, allocations: 38.66 kB / 0.5513 GB, free: 9.828 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002561/0.4127, allocations: 211 kB / 0.5515 GB, free: 9.691 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002899/0.413, allocations: 232.2 kB / 0.5517 GB, free: 9.555 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007762/0.4138, allocations: 0.5834 MB / 0.5523 GB, free: 9.164 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4138, allocations: 1.094 kB / 0.5523 GB, free: 9.164 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4138, allocations: 0 / 0.5523 GB, free: 9.164 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.4138, allocations: 0 / 0.5523 GB, free: 9.164 MB / 398.1 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.001705/0.4155, allocations: 0.837 MB / 0.5531 GB, free: 8.496 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.4156, allocations: 13.39 kB / 0.5531 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.4157, allocations: 61.69 kB / 0.5532 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.4167, allocations: 450.9 kB / 0.5536 GB, free: 8.113 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.711e-05/0.4167, allocations: 37.27 kB / 0.5536 GB, free: 8.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-05/0.4168, allocations: 43.28 kB / 0.5537 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009442/0.4178, allocations: 0.5674 MB / 0.5542 GB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.4178, allocations: 1.125 kB / 0.5542 GB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.094e-05/0.4178, allocations: 16.62 kB / 0.5542 GB, free: 7.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-05/0.4179, allocations: 22.8 kB / 0.5543 GB, free: 7.668 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007117/0.4186, allocations: 417.2 kB / 0.5547 GB, free: 7.453 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00258/0.4212, allocations: 1.7 MB / 0.5563 GB, free: 5.766 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006532/0.4218, allocations: 343 kB / 0.5566 GB, free: 5.406 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003682/0.4222, allocations: 195.4 kB / 0.5568 GB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.4222, allocations: 4.25 kB / 0.5568 GB, free: 5.199 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004427/0.4227, allocations: 310.5 kB / 0.5571 GB, free: 4.859 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.574e-06/0.4227, allocations: 0 / 0.5571 GB, free: 4.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002171/0.4248, allocations: 1.21 MB / 0.5583 GB, free: 3.582 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.425, allocations: 170.1 kB / 0.5585 GB, free: 3.379 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005077/0.4255, allocations: 397.8 kB / 0.5589 GB, free: 2.977 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.4255, allocations: 33.83 kB / 0.5589 GB, free: 2.938 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/0.4258, allocations: 300.2 kB / 0.5592 GB, free: 2.641 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.4259, allocations: 127 kB / 0.5593 GB, free: 2.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.4261, allocations: 90.14 kB / 0.5594 GB, free: 2.422 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002154/0.4263, allocations: 358.8 kB / 0.5597 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002541/0.4266, allocations: 150.6 kB / 0.5599 GB, free: 1.906 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004025/0.427, allocations: 315.2 kB / 0.5602 GB, free: 1.523 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000705/0.4277, allocations: 485.3 kB / 0.5606 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4277, allocations: 0 / 0.5606 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008422/0.4285, allocations: 0.5469 MB / 0.5612 GB, free: 408 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.103e-05/0.4286, allocations: 41.62 kB / 0.5612 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.4286, allocations: 4 kB / 0.5612 GB, free: 356 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.4286, allocations: 8 kB / 0.5612 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004543/0.4291, allocations: 104.4 kB / 0.5613 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.95e-05/0.4291, allocations: 11.98 kB / 0.5613 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002929/0.4294, allocations: 24 kB / 0.5614 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.521e-05/0.4294, allocations: 39.91 kB / 0.5614 GB, free: 168 kB / 398.1 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,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1) * 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.0003765/0.4298, allocations: 251.2 kB / 0.5616 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.776e-05/0.4299, allocations: 51.66 kB / 0.5617 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008203/0.4307, allocations: 481.2 kB / 0.5621 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.4307, allocations: 4 kB / 0.5621 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.4307, allocations: 0 / 0.5621 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/0.4307, allocations: 3.984 kB / 0.5621 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/0.4323, allocations: 0.8976 MB / 0.563 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.4323, allocations: 0 / 0.563 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003008/0.4326, allocations: 63.91 kB / 0.5631 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.725e-06/0.4326, allocations: 4 kB / 0.5631 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.568e-05/0.4326, allocations: 12.06 kB / 0.5631 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.216e-06/0.4326, allocations: 7.938 kB / 0.5631 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.4326, allocations: 3.984 kB / 0.5631 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.4338, allocations: 0.7695 MB / 0.5639 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/0.434, allocations: 71.78 kB / 0.5639 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.951e-05/0.4341, allocations: 8 kB / 0.5639 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.4343, allocations: 15.98 kB / 0.564 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.652e-05/0.4344, allocations: 27.89 kB / 0.564 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.678e-05/0.4344, allocations: 35.95 kB / 0.564 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000324/0.4348, allocations: 267.1 kB / 0.5643 GB, free: 13.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4348, allocations: 0 / 0.5643 GB, free: 13.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004928/0.4353, allocations: 104 kB / 0.5644 GB, free: 12.98 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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.0001574/0.4354, allocations: 122.1 kB / 0.5645 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007064/0.4361, allocations: 458 kB / 0.5649 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4361, allocations: 0 / 0.5649 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003348/0.4365, allocations: 254.3 kB / 0.5652 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006444/0.4371, allocations: 101.9 kB / 0.5653 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.439, allocations: 1.002 MB / 0.5662 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.4393, allocations: 283.9 kB / 0.5665 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002754/0.4396, allocations: 88.31 kB / 0.5666 GB, free: 10.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.4397, allocations: 39.42 kB / 0.5666 GB, free: 10.54 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4397, allocations: 0 / 0.5666 GB, free: 10.54 MB / 414.1 MB Notification: Performance of Templates: time 0.01132/0.451, allocations: 4.974 MB / 0.5715 GB, free: 5.645 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.34322458319366] Failed to read output from testmodel.py, exit status != 0: 0.4608529508113861 0.475537258 0.058423853000000005 Calling exit ...