Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.00164/0.00164, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002209/0.002209, allocations: 211.5 kB / 24.48 MB, free: 3.941 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.486/1.486, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.1932/0.1932, allocations: 38.57 MB / 353.2 MB, free: 12.32 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.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer") translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.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.002112/0.002112, allocations: 71.89 kB / 493.7 MB, free: 4.203 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3632, allocations: 62.46 MB / 0.5432 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.009208/0.3724, allocations: 6.237 MB / 0.5493 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004872/0.3772, allocations: 2.309 MB / 0.5515 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000639/0.3779, allocations: 34.25 kB / 0.5515 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001804/0.3797, allocations: 0.5862 MB / 0.5521 GB, free: 9.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001913/0.3816, allocations: 0.6901 MB / 0.5528 GB, free: 8.867 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001348/0.383, allocations: 463.6 kB / 0.5532 GB, free: 8.539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001997/0.3849, allocations: 1.361 MB / 0.5546 GB, free: 7.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007505/0.3857, allocations: 412.5 kB / 0.555 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001548/0.3872, allocations: 0.5947 MB / 0.5555 GB, free: 7.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002/0.3892, allocations: 0.8406 MB / 0.5564 GB, free: 6.695 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001914/0.3894, allocations: 72 kB / 0.5564 GB, free: 6.625 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008092/0.3902, allocations: 295.5 kB / 0.5567 GB, free: 6.336 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006626/0.3909, allocations: 0.5337 MB / 0.5572 GB, free: 5.801 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006526/0.3916, allocations: 437.9 kB / 0.5576 GB, free: 5.371 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002078/0.3936, allocations: 1.362 MB / 0.559 GB, free: 4.004 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3936, allocations: 0 / 0.559 GB, free: 4.004 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.3936, allocations: 0 / 0.559 GB, free: 4.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.661e-05/0.3937, allocations: 0 / 0.559 GB, free: 4.004 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.003033/0.3967, allocations: 1.273 MB / 0.5602 GB, free: 2.688 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/0.3968, allocations: 15.98 kB / 0.5602 GB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001403/0.3982, allocations: 279.9 kB / 0.5605 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.3997, allocations: 0.6418 MB / 0.5611 GB, free: 1.727 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.857e-05/0.3997, allocations: 66.36 kB / 0.5612 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002372/0.4, allocations: 96.09 kB / 0.5613 GB, free: 1.566 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002238/0.4022, allocations: 1.413 MB / 0.5627 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.451e-05/0.4022, allocations: 7.938 kB / 0.5627 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.34e-05/0.4023, allocations: 39.98 kB / 0.5627 GB, free: 0 / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003072/0.4026, allocations: 113.9 kB / 0.5628 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002315/0.405, allocations: 1.122 MB / 0.5639 GB, free: 14.76 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01019/0.4151, allocations: 5.348 MB / 0.5691 GB, free: 9.172 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.4167, allocations: 0.6084 MB / 0.5697 GB, free: 8.539 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008012/0.4175, allocations: 320.8 kB / 0.57 GB, free: 8.215 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.098e-05/0.4176, allocations: 12.44 kB / 0.57 GB, free: 8.203 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009931/0.4185, allocations: 0.5024 MB / 0.5705 GB, free: 7.668 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 4.729e-06/0.4186, allocations: 0 / 0.5705 GB, free: 7.668 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.005429/0.424, allocations: 2.176 MB / 0.5727 GB, free: 5.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000159/0.4241, allocations: 166.9 kB / 0.5728 GB, free: 5.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.4253, allocations: 0.6638 MB / 0.5735 GB, free: 4.562 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.387e-05/0.4254, allocations: 33.7 kB / 0.5735 GB, free: 4.523 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007259/0.4261, allocations: 0.5424 MB / 0.574 GB, free: 3.973 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004796/0.4266, allocations: 254 kB / 0.5743 GB, free: 3.723 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003994/0.427, allocations: 202.8 kB / 0.5745 GB, free: 3.52 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003529/0.4274, allocations: 386.8 kB / 0.5748 GB, free: 3.133 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008593/0.4282, allocations: 368.1 kB / 0.5752 GB, free: 2.766 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/0.4298, allocations: 0.8033 MB / 0.576 GB, free: 1.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002673/0.4325, allocations: 1.25 MB / 0.5772 GB, free: 296 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-05/0.4325, allocations: 7.938 kB / 0.5772 GB, free: 288 kB / 414.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.004371/0.4369, allocations: 1.466 MB / 0.5786 GB, free: 14.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.87e-05/0.4369, allocations: 37.7 kB / 0.5787 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002206/0.4391, allocations: 0.7799 MB / 0.5794 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.4402, allocations: 249.9 kB / 0.5797 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.4413, allocations: 219.6 kB / 0.5799 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007519/0.4489, allocations: 4.095 MB / 0.5839 GB, free: 9.195 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.4499, allocations: 67.97 kB / 0.5839 GB, free: 9.129 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002293/0.4502, allocations: 59.98 kB / 0.584 GB, free: 9.07 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * 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 {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009368/0.4511, allocations: 399.6 kB / 0.5844 GB, free: 8.664 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002444/0.4513, allocations: 79.48 kB / 0.5845 GB, free: 8.586 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002109/0.4535, allocations: 0.8831 MB / 0.5853 GB, free: 7.676 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.4535, allocations: 11.94 kB / 0.5853 GB, free: 7.664 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.4535, allocations: 0 / 0.5853 GB, free: 7.664 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.742e-05/0.4535, allocations: 7.984 kB / 0.5853 GB, free: 7.656 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004088/0.4576, allocations: 1.602 MB / 0.5869 GB, free: 5.984 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.4576, allocations: 0 / 0.5869 GB, free: 5.984 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009701/0.4586, allocations: 148 kB / 0.587 GB, free: 5.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-05/0.4586, allocations: 4 kB / 0.587 GB, free: 5.836 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-05/0.4587, allocations: 27.92 kB / 0.5871 GB, free: 5.809 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.457e-05/0.4587, allocations: 7.938 kB / 0.5871 GB, free: 5.801 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.4587, allocations: 0 / 0.5871 GB, free: 5.801 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002918/0.4616, allocations: 1.381 MB / 0.5884 GB, free: 4.367 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004693/0.4621, allocations: 131.5 kB / 0.5886 GB, free: 4.238 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.353e-05/0.4622, allocations: 12 kB / 0.5886 GB, free: 4.227 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003721/0.4625, allocations: 31.97 kB / 0.5886 GB, free: 4.195 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.4626, allocations: 40.42 kB / 0.5886 GB, free: 4.156 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-05/0.4627, allocations: 51.95 kB / 0.5887 GB, free: 4.105 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005597/0.4633, allocations: 423 kB / 0.5891 GB, free: 3.695 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4633, allocations: 0 / 0.5891 GB, free: 3.695 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009358/0.4642, allocations: 231.9 kB / 0.5893 GB, free: 3.469 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * 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 (64): * Single equations (assignments): 62 * 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.0001873/0.4644, allocations: 119.1 kB / 0.5894 GB, free: 3.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002107/0.4665, allocations: 1.26 MB / 0.5907 GB, free: 2.027 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4665, allocations: 0 / 0.5907 GB, free: 2.027 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006238/0.4671, allocations: 443.8 kB / 0.5911 GB, free: 1.574 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007897/0.4679, allocations: 151.8 kB / 0.5912 GB, free: 1.441 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003667/0.4716, allocations: 2.123 MB / 0.5933 GB, free: 15.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006308/0.4722, allocations: 0.5117 MB / 0.5938 GB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.4724, allocations: 63.42 kB / 0.5939 GB, free: 14.66 MB / 446.1 MB Notification: Performance of SimCode: time 6.82e-07/0.4724, allocations: 4 kB / 0.5939 GB, free: 14.65 MB / 446.1 MB Notification: Performance of Templates: time 0.02284/0.4953, allocations: 14.54 MB / 0.6081 GB, free: 120 kB / 446.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.660879397764802] Failed to read output from testmodel.py, exit status != 0: 0.504862264264375 0.5201605960000001 0.12316429300000001 Calling exit ...