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.0009015/0.0009015, allocations: 89.61 kB / 16.65 MB, free: 6.59 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.001113/0.001113, allocations: 182.5 kB / 17.56 MB, free: 6.203 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.529/1.529, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2031/0.2031, allocations: 38.05 MB / 310.1 MB, free: 5.914 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.0005003/0.0005003, allocations: 15.12 kB / 377.2 MB, free: 2.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2907, allocations: 56.33 MB / 433.5 MB, free: 18.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.006332/0.2971, allocations: 7.135 MB / 440.6 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004623/0.3018, allocations: 2.79 MB / 443.4 MB, free: 8.824 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007821/0.3026, allocations: 43.62 kB / 443.5 MB, free: 8.781 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006607/0.3033, allocations: 202.8 kB / 443.7 MB, free: 8.582 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001623/0.3049, allocations: 0.6345 MB / 444.3 MB, free: 7.945 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.306, allocations: 411.2 kB / 444.7 MB, free: 7.543 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001866/0.3079, allocations: 2.281 MB / 447 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001221/0.3091, allocations: 0.7842 MB / 447.8 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008642/0.31, allocations: 469.8 kB / 448.2 MB, free: 3.98 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/0.3111, allocations: 0.8139 MB / 449 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.3112, allocations: 36 kB / 449.1 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005513/0.3118, allocations: 267.5 kB / 449.3 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003726/0.3122, allocations: 494.8 kB / 449.8 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004278/0.3126, allocations: 0.499 MB / 450.3 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001066/0.3137, allocations: 1.257 MB / 451.6 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3137, allocations: 0 / 451.6 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3137, allocations: 0 / 451.6 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.071e-05/0.3137, allocations: 0 / 451.6 MB, free: 0.6133 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.00213/0.3159, allocations: 1.143 MB / 452.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.3159, allocations: 8.031 kB / 452.7 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.317, allocations: 203.4 kB / 452.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.3182, allocations: 0.6745 MB / 453.6 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.624e-05/0.3183, allocations: 66.36 kB / 453.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002255/0.3185, allocations: 100 kB / 453.7 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/0.3207, allocations: 1.392 MB / 455.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.117e-05/0.3207, allocations: 7.938 kB / 455.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.241e-05/0.3208, allocations: 35.98 kB / 455.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003057/0.3212, allocations: 121.9 kB / 455.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001727/0.3229, allocations: 1.093 MB / 456.4 MB, free: 11.58 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.007353/0.3303, allocations: 5.961 MB / 462.4 MB, free: 5.305 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.3314, allocations: 0.713 MB / 463.1 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004675/0.3319, allocations: 319.3 kB / 463.4 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.009e-05/0.332, allocations: 16.53 kB / 463.4 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007665/0.3328, allocations: 472.6 kB / 463.9 MB, free: 3.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=65): time 3.336e-06/0.3328, allocations: 4 kB / 463.9 MB, free: 3.727 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.003406/0.3362, allocations: 2.152 MB / 466 MB, free: 1.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.3364, allocations: 170.8 kB / 466.2 MB, free: 1.297 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007708/0.3371, allocations: 0.6327 MB / 466.8 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.579e-05/0.3372, allocations: 37.7 kB / 466.9 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004104/0.3376, allocations: 0.5289 MB / 467.4 MB, free: 76 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002198/0.3379, allocations: 233 kB / 467.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.338, allocations: 97.61 kB / 467.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.3382, allocations: 386.7 kB / 468.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005408/0.3387, allocations: 342.4 kB / 468.4 MB, free: 15.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008664/0.3396, allocations: 0.7737 MB / 469.2 MB, free: 14.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001466/0.3411, allocations: 1.24 MB / 470.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.3411, allocations: 4 kB / 470.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.00258/0.3437, allocations: 1.443 MB / 471.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.919e-05/0.3438, allocations: 45.64 kB / 471.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001462/0.3453, allocations: 0.782 MB / 472.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007664/0.346, allocations: 261.4 kB / 473 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007364/0.3468, allocations: 211.6 kB / 473.2 MB, free: 9.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004442/0.3512, allocations: 4.032 MB / 477.2 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008091/0.3521, allocations: 67.88 kB / 477.3 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.3522, allocations: 59.98 kB / 477.3 MB, free: 5.387 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.0006589/0.3529, allocations: 403 kB / 477.7 MB, free: 4.977 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.353, allocations: 75.06 kB / 477.8 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/0.3544, allocations: 0.8438 MB / 478.6 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.3545, allocations: 8 kB / 478.6 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3545, allocations: 3.938 kB / 478.6 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/0.3545, allocations: 11.92 kB / 478.7 MB, free: 4.016 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002778/0.3573, allocations: 1.767 MB / 480.4 MB, free: 2.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/0.3573, allocations: 7.922 kB / 480.4 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007113/0.358, allocations: 147.8 kB / 480.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-05/0.3581, allocations: 4 kB / 480.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.563e-05/0.3581, allocations: 16 kB / 480.6 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.357e-06/0.3581, allocations: 11.92 kB / 480.6 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3582, allocations: 4.156 kB / 480.6 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/0.36, allocations: 1.301 MB / 481.9 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003428/0.3604, allocations: 204.1 kB / 482.1 MB, free: 432 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.892e-05/0.3605, allocations: 16 kB / 482.1 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003844/0.3609, allocations: 31.97 kB / 482.2 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.361, allocations: 40.5 kB / 482.2 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.234e-05/0.3611, allocations: 43.95 kB / 482.2 MB, free: 300 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005735/0.3617, allocations: 427 kB / 482.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.3617, allocations: 4 kB / 482.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009885/0.3627, allocations: 228 kB / 482.9 MB, free: 15.65 MB / 366.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.0002038/0.3629, allocations: 119.1 kB / 483 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002088/0.365, allocations: 1.233 MB / 484.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.365, allocations: 0 / 484.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006603/0.3657, allocations: 470.3 kB / 484.7 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.3667, allocations: 143.5 kB / 484.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003769/0.3705, allocations: 2.46 MB / 487.3 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007823/0.3713, allocations: 1.115 MB / 488.4 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0008876/0.3722, allocations: 290.4 kB / 488.7 MB, free: 9.719 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/0.3725, allocations: 63.42 kB / 488.8 MB, free: 9.656 MB / 366.1 MB Notification: Performance of SimCode: time 1.573e-06/0.3725, allocations: 0 / 488.8 MB, free: 9.656 MB / 366.1 MB Notification: Performance of Templates: time 0.01732/0.3898, allocations: 8.018 MB / 496.8 MB, free: 1.652 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: