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.001336/0.001336, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001479/0.001479, allocations: 167.3 kB / 24.5 MB, free: 3.453 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.528/1.528, allocations: 177.2 MB / 204.9 MB, free: 9.055 MB / 190.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.2322/0.2322, allocations: 29.42 MB / 290.7 MB, free: 3.309 MB / 270.1 MB " [Timeout remaining time 179] 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.002084/0.002084, allocations: 75.89 kB / 431.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.334, allocations: 62.45 MB / 493.6 MB, free: 1.883 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer): time 0.007491/0.3414, allocations: 5.321 MB / 499 MB, free: 12.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002393/0.3438, allocations: 1.305 MB / 0.4885 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002041/0.344, allocations: 27.75 kB / 0.4886 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000459/0.3445, allocations: 131 kB / 0.4887 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000837/0.3453, allocations: 394.1 kB / 0.4891 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003157/0.3457, allocations: 155.7 kB / 0.4892 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008329/0.3465, allocations: 0.7826 MB / 0.49 GB, free: 9.754 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002485/0.3467, allocations: 134.2 kB / 0.4901 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005457/0.3473, allocations: 366.5 kB / 0.4905 GB, free: 9.262 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006436/0.3479, allocations: 406.5 kB / 0.4909 GB, free: 8.863 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.236e-05/0.348, allocations: 40 kB / 0.4909 GB, free: 8.824 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.752e-05/0.3481, allocations: 44 kB / 0.4909 GB, free: 8.781 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002271/0.3483, allocations: 211.3 kB / 0.4911 GB, free: 8.574 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002659/0.3486, allocations: 222.9 kB / 0.4913 GB, free: 8.355 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006881/0.3493, allocations: 0.5835 MB / 0.4919 GB, free: 7.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.3493, allocations: 0 / 0.4919 GB, free: 7.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3493, allocations: 0 / 0.4919 GB, free: 7.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.3493, allocations: 3.938 kB / 0.4919 GB, free: 7.766 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.001523/0.3508, allocations: 0.8356 MB / 0.4927 GB, free: 6.891 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.3509, allocations: 11.98 kB / 0.4927 GB, free: 6.879 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.351, allocations: 60.56 kB / 0.4928 GB, free: 6.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000852/0.3518, allocations: 457 kB / 0.4932 GB, free: 6.344 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.411e-05/0.3519, allocations: 36.88 kB / 0.4933 GB, free: 6.305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-05/0.352, allocations: 40 kB / 0.4933 GB, free: 6.266 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008261/0.3528, allocations: 0.5641 MB / 0.4939 GB, free: 5.664 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.3528, allocations: 0 / 0.4939 GB, free: 5.664 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.363e-05/0.3528, allocations: 16 kB / 0.4939 GB, free: 5.648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.702e-05/0.3529, allocations: 24.92 kB / 0.4939 GB, free: 5.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006381/0.3535, allocations: 417.4 kB / 0.4943 GB, free: 5.211 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002309/0.3558, allocations: 1.695 MB / 0.496 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000569/0.3564, allocations: 339 kB / 0.4963 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003234/0.3567, allocations: 199.4 kB / 0.4965 GB, free: 2.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.3567, allocations: 8.188 kB / 0.4965 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005003/0.3572, allocations: 306.6 kB / 0.4968 GB, free: 2.531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.493e-06/0.3572, allocations: 0 / 0.4968 GB, free: 2.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.00185/0.3591, allocations: 1.206 MB / 0.4979 GB, free: 1.258 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.3592, allocations: 166.2 kB / 0.4981 GB, free: 1.059 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004213/0.3596, allocations: 405.9 kB / 0.4985 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.3596, allocations: 29.7 kB / 0.4985 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.3599, allocations: 304.2 kB / 0.4988 GB, free: 320 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.802e-05/0.36, allocations: 127 kB / 0.4989 GB, free: 192 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001287/0.3601, allocations: 94.14 kB / 0.499 GB, free: 92 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.3603, allocations: 362.7 kB / 0.4994 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.3605, allocations: 146.6 kB / 0.4995 GB, free: 15.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003527/0.3608, allocations: 315.2 kB / 0.4998 GB, free: 15.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005957/0.3614, allocations: 485.3 kB / 0.5003 GB, free: 14.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.3614, allocations: 4 kB / 0.5003 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007967/0.3622, allocations: 0.5429 MB / 0.5008 GB, free: 14.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.443e-05/0.3623, allocations: 41.62 kB / 0.5008 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.3623, allocations: 8 kB / 0.5009 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.3623, allocations: 8.688 kB / 0.5009 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004347/0.3627, allocations: 107.8 kB / 0.501 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.723e-05/0.3628, allocations: 15.98 kB / 0.501 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.363, allocations: 27.98 kB / 0.501 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.973e-05/0.3631, allocations: 27.98 kB / 0.501 GB, free: 13.82 MB / 414.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.0002725/0.3633, allocations: 251.3 kB / 0.5013 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.93e-05/0.3634, allocations: 47.66 kB / 0.5013 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007419/0.3642, allocations: 481.2 kB / 0.5018 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.3642, allocations: 4 kB / 0.5018 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3642, allocations: 0 / 0.5018 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.3642, allocations: 7.984 kB / 0.5018 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/0.3655, allocations: 0.8937 MB / 0.5027 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3655, allocations: 3.938 kB / 0.5027 GB, free: 12.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003317/0.3658, allocations: 63.91 kB / 0.5027 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.3658, allocations: 0 / 0.5027 GB, free: 12 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.592e-05/0.3659, allocations: 12 kB / 0.5027 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.3659, allocations: 3.984 kB / 0.5027 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.3659, allocations: 4 kB / 0.5027 GB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.367, allocations: 0.7735 MB / 0.5035 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.3671, allocations: 63.66 kB / 0.5036 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.692e-05/0.3672, allocations: 12 kB / 0.5036 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.3674, allocations: 15.98 kB / 0.5036 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.385e-05/0.3675, allocations: 27.89 kB / 0.5036 GB, free: 11.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.482e-05/0.3675, allocations: 35.95 kB / 0.5036 GB, free: 11.01 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000297/0.3678, allocations: 267.1 kB / 0.5039 GB, free: 10.75 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3678, allocations: 0 / 0.5039 GB, free: 10.75 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004743/0.3683, allocations: 104 kB / 0.504 GB, free: 10.65 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.0001431/0.3684, allocations: 115.2 kB / 0.5041 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007148/0.3691, allocations: 459.3 kB / 0.5046 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3691, allocations: 0 / 0.5046 GB, free: 10.06 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003355/0.3695, allocations: 256.9 kB / 0.5048 GB, free: 9.789 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006437/0.3701, allocations: 120.7 kB / 0.5049 GB, free: 9.676 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001808/0.3719, allocations: 1.01 MB / 0.5059 GB, free: 8.621 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.3722, allocations: 280.2 kB / 0.5062 GB, free: 8.324 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002683/0.3725, allocations: 92.31 kB / 0.5063 GB, free: 8.23 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.234e-05/0.3726, allocations: 40.48 kB / 0.5063 GB, free: 8.191 MB / 414.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3726, allocations: 0 / 0.5063 GB, free: 8.191 MB / 414.1 MB Notification: Performance of Templates: time 0.01103/0.3836, allocations: 4.322 MB / 0.5105 GB, free: 3.949 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 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.143315828056075] Failed to read output from testmodel.py, exit status != 0: 0.393259827978909 0.41355354200000005 0.05964760400000001 Calling exit ...