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.001714/0.001714, allocations: 103.6 kB / 21.19 MB, free: 0.6562 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.002377/0.002377, allocations: 207.6 kB / 24.48 MB, free: 3.957 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.615/1.615, allocations: 230.6 MB / 258.2 MB, free: 7.969 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.206/0.206, allocations: 38.55 MB / 353.2 MB, free: 12.34 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.002387/0.002387, allocations: 67.89 kB / 493.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3208, allocations: 62.45 MB / 0.5432 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.007685/0.3285, allocations: 5.324 MB / 0.5484 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003543/0.332, allocations: 1.321 MB / 0.5496 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005203/0.3326, allocations: 26.75 kB / 0.5497 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006347/0.3332, allocations: 129.9 kB / 0.5498 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001295/0.3345, allocations: 389.6 kB / 0.5502 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004844/0.335, allocations: 149.3 kB / 0.5503 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001219/0.3362, allocations: 0.7816 MB / 0.5511 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003376/0.3365, allocations: 137.9 kB / 0.5512 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008214/0.3373, allocations: 364.8 kB / 0.5516 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008814/0.3382, allocations: 400.7 kB / 0.5519 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.813e-05/0.3383, allocations: 39.22 kB / 0.552 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.3385, allocations: 40.09 kB / 0.552 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002379/0.3387, allocations: 207.2 kB / 0.5522 GB, free: 9.715 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003091/0.339, allocations: 235 kB / 0.5524 GB, free: 9.574 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008393/0.3399, allocations: 0.5888 MB / 0.553 GB, free: 9.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3399, allocations: 0 / 0.553 GB, free: 9.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3399, allocations: 3.938 kB / 0.553 GB, free: 9.176 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.3399, allocations: 1.062 kB / 0.553 GB, free: 9.176 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.001734/0.3416, allocations: 0.8279 MB / 0.5538 GB, free: 8.52 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.3417, allocations: 17.12 kB / 0.5538 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.3418, allocations: 62.09 kB / 0.5539 GB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009417/0.3427, allocations: 451.2 kB / 0.5543 GB, free: 8.133 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.166e-05/0.3428, allocations: 45.25 kB / 0.5544 GB, free: 8.102 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.393e-05/0.3429, allocations: 39 kB / 0.5544 GB, free: 8.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009149/0.3438, allocations: 0.5596 MB / 0.555 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.3438, allocations: 1.156 kB / 0.555 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.573e-05/0.3438, allocations: 17.25 kB / 0.555 GB, free: 7.695 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.708e-05/0.3439, allocations: 21.44 kB / 0.555 GB, free: 7.691 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007051/0.3446, allocations: 422.1 kB / 0.5554 GB, free: 7.473 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002573/0.3472, allocations: 1.696 MB / 0.5571 GB, free: 5.773 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006312/0.3478, allocations: 339 kB / 0.5574 GB, free: 5.418 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003595/0.3482, allocations: 195.3 kB / 0.5576 GB, free: 5.215 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.229e-05/0.3482, allocations: 8.188 kB / 0.5576 GB, free: 5.207 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004316/0.3486, allocations: 310.6 kB / 0.5579 GB, free: 4.867 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.765e-06/0.3486, allocations: 0 / 0.5579 GB, free: 4.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002137/0.3508, allocations: 1.214 MB / 0.559 GB, free: 3.586 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.3509, allocations: 166.2 kB / 0.5592 GB, free: 3.387 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005013/0.3514, allocations: 401.8 kB / 0.5596 GB, free: 2.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.3514, allocations: 37.83 kB / 0.5596 GB, free: 2.938 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/0.3517, allocations: 296.2 kB / 0.5599 GB, free: 2.645 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.3518, allocations: 123 kB / 0.56 GB, free: 2.523 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.3519, allocations: 94.14 kB / 0.5601 GB, free: 2.426 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.3521, allocations: 358.8 kB / 0.5605 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002486/0.3524, allocations: 146.6 kB / 0.5606 GB, free: 1.914 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003648/0.3527, allocations: 319.2 kB / 0.5609 GB, free: 1.527 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006339/0.3534, allocations: 481.3 kB / 0.5614 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3534, allocations: 0 / 0.5614 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008589/0.3542, allocations: 0.5547 MB / 0.5619 GB, free: 408 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.429e-05/0.3543, allocations: 37.64 kB / 0.5619 GB, free: 364 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/0.3543, allocations: 4 kB / 0.5619 GB, free: 360 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.3543, allocations: 8 kB / 0.562 GB, free: 352 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004422/0.3547, allocations: 108.4 kB / 0.5621 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.3548, allocations: 15.94 kB / 0.5621 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.3551, allocations: 23.98 kB / 0.5621 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.815e-05/0.3551, allocations: 31.98 kB / 0.5621 GB, free: 172 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.0003406/0.3555, allocations: 251.2 kB / 0.5624 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.175e-05/0.3556, allocations: 51.66 kB / 0.5624 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007833/0.3563, allocations: 485.2 kB / 0.5629 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.3564, allocations: 4 kB / 0.5629 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3564, allocations: 0 / 0.5629 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3564, allocations: 0 / 0.5629 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/0.3578, allocations: 0.8976 MB / 0.5638 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3579, allocations: 0 / 0.5638 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003174/0.3582, allocations: 59.91 kB / 0.5638 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.3582, allocations: 7.984 kB / 0.5638 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/0.3582, allocations: 12 kB / 0.5638 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.3582, allocations: 4 kB / 0.5638 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3582, allocations: 0 / 0.5638 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.3593, allocations: 0.7696 MB / 0.5646 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002061/0.3595, allocations: 79.7 kB / 0.5647 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.309e-05/0.3596, allocations: 8 kB / 0.5647 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/0.3598, allocations: 19.92 kB / 0.5647 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/0.3599, allocations: 19.97 kB / 0.5647 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.769e-05/0.36, allocations: 35.89 kB / 0.5647 GB, free: 13.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000321/0.3603, allocations: 271.1 kB / 0.565 GB, free: 13.09 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3603, allocations: 0 / 0.565 GB, free: 13.09 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005098/0.3608, allocations: 100 kB / 0.5651 GB, free: 12.99 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.0001393/0.3609, allocations: 115.1 kB / 0.5652 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007202/0.3617, allocations: 462 kB / 0.5656 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3617, allocations: 0 / 0.5656 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000334/0.362, allocations: 258.2 kB / 0.5659 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.0006737/0.3627, allocations: 104.6 kB / 0.566 GB, free: 12.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.3646, allocations: 1.062 MB / 0.567 GB, free: 10.91 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.3649, allocations: 284 kB / 0.5673 GB, free: 10.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.365, allocations: 43.42 kB / 0.5673 GB, free: 10.56 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.365, allocations: 4 kB / 0.5673 GB, free: 10.56 MB / 414.1 MB Notification: Performance of Templates: time 0.01149/0.3765, allocations: 6.164 MB / 0.5734 GB, free: 4.414 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: 8.639210181310773] Failed to read output from testmodel.py, exit status != 0: 0.3865907578729093 0.40300984 0.05945550300000001 Calling exit ...