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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer") translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001565, allocations: 111.9 kB / 17.68 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 192 kB / 18.62 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.56/1.56, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.178/0.178, allocations: 37.99 MB / 309.8 MB, free: 5.965 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002222, allocations: 63.91 kB / 376.8 MB, free: 2.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2754, allocations: 55.26 MB / 432 MB, free: 19.49 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.006948/0.2824, allocations: 6.525 MB / 438.6 MB, free: 12.94 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003842/0.2863, allocations: 2.47 MB / 441 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000458/0.2868, allocations: 27.81 kB / 441.1 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001455/0.2883, allocations: 0.6088 MB / 441.7 MB, free: 9.824 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001216/0.2895, allocations: 0.6847 MB / 442.3 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009478/0.2905, allocations: 459 kB / 442.8 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00115/0.2916, allocations: 1.361 MB / 444.2 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005218/0.2922, allocations: 487.9 kB / 444.6 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000571/0.2927, allocations: 0.572 MB / 445.2 MB, free: 6.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008109/0.2936, allocations: 0.7828 MB / 446 MB, free: 5.484 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.077e-05/0.2937, allocations: 76 kB / 446.1 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004313/0.2941, allocations: 275.6 kB / 446.3 MB, free: 5.141 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003287/0.2944, allocations: 0.5221 MB / 446.8 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003962/0.2949, allocations: 0.5325 MB / 447.4 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009362/0.2958, allocations: 1.328 MB / 448.7 MB, free: 2.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.2958, allocations: 4 kB / 448.7 MB, free: 2.746 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2958, allocations: 0 / 448.7 MB, free: 2.746 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.2958, allocations: 0 / 448.7 MB, free: 2.746 MB / 318.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.001923/0.2978, allocations: 1.315 MB / 450 MB, free: 1.375 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.2978, allocations: 15.89 kB / 450 MB, free: 1.359 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000951/0.2988, allocations: 203.4 kB / 450.2 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.2999, allocations: 0.7135 MB / 451 MB, free: 412 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.306e-05/0.3, allocations: 62.36 kB / 451 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001954/0.3002, allocations: 96.02 kB / 451.1 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/0.302, allocations: 1.396 MB / 452.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.934e-05/0.3021, allocations: 0 / 452.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.854e-05/0.3022, allocations: 43.98 kB / 452.5 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000266/0.3025, allocations: 117.9 kB / 452.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001709/0.3042, allocations: 1.093 MB / 453.8 MB, free: 13.5 MB / 334.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.006731/0.3109, allocations: 5.93 MB / 459.7 MB, free: 7.262 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.312, allocations: 0.7089 MB / 460.4 MB, free: 6.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004379/0.3124, allocations: 315.3 kB / 460.7 MB, free: 6.203 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.765e-05/0.3125, allocations: 16.55 kB / 460.7 MB, free: 6.188 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006723/0.3132, allocations: 480.7 kB / 461.2 MB, free: 5.688 MB / 334.1 MB Notification: Performance of pre-optimization done (n=65): time 2.524e-06/0.3132, allocations: 0 / 461.2 MB, free: 5.688 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.003375/0.3166, allocations: 2.148 MB / 463.3 MB, free: 3.465 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.853e-05/0.3167, allocations: 162.8 kB / 463.5 MB, free: 3.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006768/0.3174, allocations: 0.6367 MB / 464.1 MB, free: 2.621 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.91e-05/0.3174, allocations: 41.69 kB / 464.2 MB, free: 2.574 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003953/0.3178, allocations: 0.5289 MB / 464.7 MB, free: 2.035 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.318, allocations: 228.8 kB / 464.9 MB, free: 1.809 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002504/0.3183, allocations: 202.6 kB / 465.1 MB, free: 1.605 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.3185, allocations: 398.7 kB / 465.5 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004931/0.319, allocations: 338.4 kB / 465.8 MB, free: 0.875 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008161/0.3198, allocations: 0.7698 MB / 466.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001411/0.3212, allocations: 1.248 MB / 467.9 MB, free: 14.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.3212, allocations: 7.938 kB / 467.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002393/0.3236, allocations: 1.438 MB / 469.3 MB, free: 12.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.302e-05/0.3237, allocations: 41.64 kB / 469.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001338/0.325, allocations: 0.7899 MB / 470.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006981/0.3257, allocations: 249.5 kB / 470.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006743/0.3264, allocations: 219.6 kB / 470.6 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004556/0.331, allocations: 4.381 MB / 475 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006748/0.3317, allocations: 51.97 kB / 475 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.752e-05/0.3318, allocations: 59.98 kB / 475.1 MB, free: 6.891 MB / 350.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.0005358/0.3323, allocations: 407.1 kB / 475.5 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.3325, allocations: 79 kB / 475.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.3338, allocations: 0.8438 MB / 476.4 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.3338, allocations: 8 kB / 476.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.3338, allocations: 0 / 476.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.3338, allocations: 4 kB / 476.4 MB, free: 5.516 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002591/0.3364, allocations: 1.767 MB / 478.2 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.3364, allocations: 0 / 478.2 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007048/0.3371, allocations: 155.9 kB / 478.3 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/0.3372, allocations: 4 kB / 478.3 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-05/0.3372, allocations: 19.98 kB / 478.4 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.3372, allocations: 4 kB / 478.4 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3372, allocations: 0 / 478.4 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.339, allocations: 1.309 MB / 479.7 MB, free: 2.141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003589/0.3394, allocations: 200.2 kB / 479.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.167e-05/0.3395, allocations: 19.92 kB / 479.9 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003448/0.3398, allocations: 31.97 kB / 479.9 MB, free: 1.875 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.34, allocations: 52.45 kB / 480 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.25e-05/0.3401, allocations: 43.89 kB / 480 MB, free: 1.781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004907/0.3406, allocations: 427 kB / 480.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3406, allocations: 0 / 480.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009426/0.3415, allocations: 232 kB / 480.7 MB, free: 1.145 MB / 350.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.0001885/0.3417, allocations: 127 kB / 480.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001898/0.3436, allocations: 1.236 MB / 482 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3436, allocations: 1.75 kB / 482 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006644/0.3443, allocations: 462.3 kB / 482.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007203/0.345, allocations: 147.1 kB / 482.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003085/0.3481, allocations: 1.967 MB / 484.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000764/0.3489, allocations: 1.114 MB / 485.7 MB, free: 11.99 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006288/0.3496, allocations: 286.4 kB / 486 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.3497, allocations: 59.42 kB / 486 MB, free: 11.64 MB / 366.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3497, allocations: 0 / 486 MB, free: 11.64 MB / 366.1 MB Notification: Performance of Templates: time 0.0155/0.3653, allocations: 8.565 MB / 494.6 MB, free: 3.098 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.makefile (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 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1)