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.001347/0.001347, allocations: 78.58 kB / 20.5 MB, free: 1.395 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.001565/0.001565, allocations: 170 kB / 23.75 MB, free: 4.699 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.52/1.52, allocations: 177.2 MB / 204.1 MB, free: 9.281 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.1763/0.1763, allocations: 29.43 MB / 289.9 MB, free: 3.395 MB / 270.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.002117/0.002117, allocations: 64.09 kB / 430.4 MB, free: 2.152 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4202, allocations: 62.45 MB / 492.9 MB, free: 1.961 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.009966/0.4302, allocations: 6.217 MB / 499.1 MB, free: 11.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005303/0.4355, allocations: 2.298 MB / 0.4897 GB, free: 9.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000519/0.436, allocations: 43.62 kB / 0.4897 GB, free: 9.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002131/0.4382, allocations: 0.5912 MB / 0.4903 GB, free: 8.773 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001932/0.4401, allocations: 0.6925 MB / 0.4909 GB, free: 8.078 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.4414, allocations: 451 kB / 0.4914 GB, free: 7.637 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001981/0.4434, allocations: 1.373 MB / 0.4927 GB, free: 6.258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000693/0.4441, allocations: 407.9 kB / 0.4931 GB, free: 5.855 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00128/0.4454, allocations: 0.7866 MB / 0.4939 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001387/0.4468, allocations: 0.8294 MB / 0.4947 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.4469, allocations: 75.94 kB / 0.4948 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007356/0.4476, allocations: 291.5 kB / 0.495 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005951/0.4482, allocations: 0.526 MB / 0.4956 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006036/0.4488, allocations: 441.9 kB / 0.496 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001755/0.4506, allocations: 1.366 MB / 0.4973 GB, free: 1.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.4506, allocations: 0 / 0.4973 GB, free: 1.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.562e-06/0.4506, allocations: 0 / 0.4973 GB, free: 1.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.4506, allocations: 0 / 0.4973 GB, free: 1.543 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.002663/0.4533, allocations: 1.269 MB / 0.4985 GB, free: 236 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.4533, allocations: 15.98 kB / 0.4986 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001446/0.4548, allocations: 283.9 kB / 0.4988 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001392/0.4562, allocations: 0.634 MB / 0.4995 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.92e-05/0.4562, allocations: 66.34 kB / 0.4995 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002526/0.4565, allocations: 100.1 kB / 0.4996 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002291/0.4588, allocations: 1.417 MB / 0.501 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.699e-05/0.4588, allocations: 7.938 kB / 0.501 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.419e-05/0.4589, allocations: 35.98 kB / 0.501 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002899/0.4592, allocations: 121.9 kB / 0.5012 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001949/0.4611, allocations: 1.118 MB / 0.5022 GB, free: 12.3 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.007496/0.4686, allocations: 5.362 MB / 0.5075 GB, free: 6.695 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.4698, allocations: 0.6041 MB / 0.5081 GB, free: 6.066 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005019/0.4703, allocations: 317.2 kB / 0.5084 GB, free: 5.746 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.774e-05/0.4703, allocations: 12.48 kB / 0.5084 GB, free: 5.734 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007722/0.4711, allocations: 0.4985 MB / 0.5089 GB, free: 5.203 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 1.964e-06/0.4711, allocations: 0 / 0.5089 GB, free: 5.203 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.003793/0.4749, allocations: 2.18 MB / 0.511 GB, free: 2.957 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001364/0.475, allocations: 162.9 kB / 0.5112 GB, free: 2.762 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008723/0.4759, allocations: 0.6638 MB / 0.5118 GB, free: 2.094 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.566e-05/0.4759, allocations: 41.7 kB / 0.5118 GB, free: 2.047 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005201/0.4765, allocations: 0.5385 MB / 0.5124 GB, free: 1.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/0.4767, allocations: 246 kB / 0.5126 GB, free: 1.258 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003047/0.477, allocations: 210.8 kB / 0.5128 GB, free: 1.047 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002253/0.4772, allocations: 386.8 kB / 0.5132 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006596/0.4779, allocations: 368.1 kB / 0.5135 GB, free: 300 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.4789, allocations: 0.7993 MB / 0.5143 GB, free: 15.28 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001805/0.4807, allocations: 1.25 MB / 0.5155 GB, free: 13.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.028e-05/0.4808, allocations: 7.938 kB / 0.5155 GB, free: 13.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.0028/0.4836, allocations: 1.462 MB / 0.517 GB, free: 12.32 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.534e-05/0.4836, allocations: 41.69 kB / 0.517 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001559/0.4852, allocations: 0.7799 MB / 0.5178 GB, free: 11.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007676/0.4859, allocations: 253.8 kB / 0.518 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000725/0.4867, allocations: 215.6 kB / 0.5182 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005221/0.4919, allocations: 4.091 MB / 0.5222 GB, free: 6.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008847/0.4928, allocations: 59.98 kB / 0.5223 GB, free: 6.672 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.4929, allocations: 67.95 kB / 0.5223 GB, free: 6.605 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.0007716/0.4937, allocations: 407 kB / 0.5227 GB, free: 6.195 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.4938, allocations: 79.48 kB / 0.5228 GB, free: 6.117 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.4954, allocations: 0.8752 MB / 0.5236 GB, free: 5.215 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.4954, allocations: 11.94 kB / 0.5237 GB, free: 5.203 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.4954, allocations: 4 kB / 0.5237 GB, free: 5.199 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.4954, allocations: 7.984 kB / 0.5237 GB, free: 5.191 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002797/0.4982, allocations: 1.594 MB / 0.5252 GB, free: 3.527 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.4982, allocations: 4 kB / 0.5252 GB, free: 3.523 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007089/0.4989, allocations: 143.8 kB / 0.5254 GB, free: 3.383 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-05/0.4989, allocations: 12.09 kB / 0.5254 GB, free: 3.371 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.82e-05/0.499, allocations: 19.98 kB / 0.5254 GB, free: 3.352 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/0.499, allocations: 7.938 kB / 0.5254 GB, free: 3.344 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.499, allocations: 4 kB / 0.5254 GB, free: 3.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002205/0.5012, allocations: 1.377 MB / 0.5268 GB, free: 1.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003692/0.5016, allocations: 135.4 kB / 0.5269 GB, free: 1.777 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.609e-05/0.5017, allocations: 15.98 kB / 0.5269 GB, free: 1.762 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003356/0.502, allocations: 35.91 kB / 0.5269 GB, free: 1.727 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.5021, allocations: 40.42 kB / 0.527 GB, free: 1.688 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.401e-05/0.5022, allocations: 43.97 kB / 0.527 GB, free: 1.645 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006002/0.5028, allocations: 431 kB / 0.5274 GB, free: 1.227 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5028, allocations: 0 / 0.5274 GB, free: 1.227 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001073/0.5039, allocations: 235.9 kB / 0.5276 GB, free: 0.9961 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.0001861/0.5041, allocations: 115.1 kB / 0.5278 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002134/0.5062, allocations: 1.257 MB / 0.529 GB, free: 15.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.361e-06/0.5062, allocations: 4 kB / 0.529 GB, free: 15.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006393/0.5068, allocations: 443.8 kB / 0.5294 GB, free: 15.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008089/0.5077, allocations: 138.4 kB / 0.5295 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003809/0.5115, allocations: 2.043 MB / 0.5315 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006827/0.5121, allocations: 0.5154 MB / 0.532 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007117/0.5129, allocations: 290.4 kB / 0.5323 GB, free: 12.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001719/0.513, allocations: 60.48 kB / 0.5324 GB, free: 11.99 MB / 446.1 MB Notification: Performance of SimCode: time 1.263e-06/0.513, allocations: 0 / 0.5324 GB, free: 11.99 MB / 446.1 MB Notification: Performance of Templates: time 0.01817/0.5312, allocations: 8.652 MB / 0.5408 GB, free: 3.473 MB / 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: 5.495710514485836] Failed to read output from testmodel.py, exit status != 0: 0.5407671369612217 0.556628586 0.102679079 Calling exit ...