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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001869/0.001869, allocations: 115.7 kB / 17.29 MB, free: 6.207 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.002728/0.002728, allocations: 197.3 kB / 18.21 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.588/2.588, allocations: 222.9 MB / 241.9 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.482/0.482, allocations: 38.01 MB / 330 MB, free: 8.969 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002857/0.002857, allocations: 66.22 kB / 398.9 MB, free: 34.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2019/0.2048, allocations: 58.06 MB / 457 MB, free: 8.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.01955/0.2244, allocations: 7.573 MB / 464.6 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.2349, allocations: 2.738 MB / 467.3 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00165/0.2366, allocations: 43.69 kB / 467.4 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003218/0.2398, allocations: 0.5701 MB / 467.9 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003665/0.2435, allocations: 0.6384 MB / 468.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002225/0.2458, allocations: 403.3 kB / 469 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00319/0.249, allocations: 1.369 MB / 470.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001607/0.2507, allocations: 0.5077 MB / 470.8 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001925/0.2526, allocations: 0.572 MB / 471.4 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002446/0.2551, allocations: 0.8685 MB / 472.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004662/0.2556, allocations: 72 kB / 472.3 MB, free: 8.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.2569, allocations: 275.6 kB / 472.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001235/0.2582, allocations: 0.53 MB / 473.1 MB, free: 8.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001739/0.2599, allocations: 0.5247 MB / 473.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002415/0.2624, allocations: 1.006 MB / 474.7 MB, free: 6.641 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.2624, allocations: 3.938 kB / 474.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.2624, allocations: 0 / 474.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.151e-05/0.2625, allocations: 0 / 474.7 MB, free: 6.637 MB / 350.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.006509/0.2691, allocations: 1.334 MB / 476 MB, free: 5.246 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.616e-05/0.2692, allocations: 15.89 kB / 476 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002357/0.2715, allocations: 195.4 kB / 476.2 MB, free: 5.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00266/0.2742, allocations: 0.6746 MB / 476.9 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.2744, allocations: 66.3 kB / 477 MB, free: 4.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005337/0.2749, allocations: 92.11 kB / 477 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004555/0.2795, allocations: 1.384 MB / 478.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.271e-05/0.2797, allocations: 15.84 kB / 478.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002082/0.2799, allocations: 35.98 kB / 478.5 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005716/0.2805, allocations: 121.9 kB / 478.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003273/0.2838, allocations: 1.093 MB / 479.7 MB, free: 1.418 MB / 350.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.01227/0.2961, allocations: 5.954 MB / 485.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001917/0.298, allocations: 0.7076 MB / 486.4 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008656/0.2989, allocations: 323.3 kB / 486.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.684e-05/0.2991, allocations: 16.55 kB / 486.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001265/0.3004, allocations: 472.6 kB / 487.1 MB, free: 9.582 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 6.392e-06/0.3004, allocations: 0 / 487.1 MB, free: 9.582 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.006885/0.3073, allocations: 2.152 MB / 489.3 MB, free: 7.355 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001955/0.3075, allocations: 162.8 kB / 489.5 MB, free: 7.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00151/0.3091, allocations: 0.6405 MB / 490.1 MB, free: 6.508 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.216e-05/0.3092, allocations: 41.7 kB / 490.1 MB, free: 6.461 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007659/0.31, allocations: 0.5288 MB / 490.7 MB, free: 5.922 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000403/0.3104, allocations: 228.8 kB / 490.9 MB, free: 5.695 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005497/0.3109, allocations: 206.7 kB / 491.1 MB, free: 5.488 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003358/0.3113, allocations: 390.7 kB / 491.5 MB, free: 5.098 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009375/0.3123, allocations: 338.4 kB / 491.8 MB, free: 4.766 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001417/0.3137, allocations: 0.7737 MB / 492.6 MB, free: 3.793 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002452/0.3162, allocations: 1.244 MB / 493.8 MB, free: 2.332 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.483e-05/0.3162, allocations: 4 kB / 493.8 MB, free: 2.328 MB / 366.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.004164/0.3204, allocations: 1.439 MB / 495.3 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.596e-05/0.3205, allocations: 41.64 kB / 495.3 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002162/0.3227, allocations: 0.786 MB / 496.1 MB, free: 32 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.3239, allocations: 257.5 kB / 496.3 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.325, allocations: 215.6 kB / 496.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007256/0.3323, allocations: 4.385 MB / 0.4892 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/0.3337, allocations: 59.94 kB / 0.4893 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003081/0.334, allocations: 59.98 kB / 0.4893 GB, free: 10.78 MB / 382.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.001281/0.3353, allocations: 402.9 kB / 0.4897 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003108/0.3357, allocations: 82.94 kB / 0.4898 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002383/0.3381, allocations: 0.8555 MB / 0.4906 GB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.3381, allocations: 8 kB / 0.4906 GB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.3381, allocations: 0 / 0.4906 GB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.3381, allocations: 3.938 kB / 0.4906 GB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004588/0.3427, allocations: 1.767 MB / 0.4923 GB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.3428, allocations: 0 / 0.4923 GB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.3438, allocations: 151.8 kB / 0.4925 GB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.09e-05/0.3439, allocations: 4 kB / 0.4925 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-05/0.344, allocations: 19.98 kB / 0.4925 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.145e-05/0.344, allocations: 4 kB / 0.4925 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.344, allocations: 0 / 0.4925 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00282/0.3469, allocations: 1.309 MB / 0.4938 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006116/0.3475, allocations: 208.2 kB / 0.494 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002451/0.3478, allocations: 23.98 kB / 0.494 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006891/0.3485, allocations: 27.97 kB / 0.494 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.3486, allocations: 40.45 kB / 0.4941 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/0.3488, allocations: 39.95 kB / 0.4941 GB, free: 5.672 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001023/0.3498, allocations: 431 kB / 0.4945 GB, free: 5.258 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3498, allocations: 0 / 0.4945 GB, free: 5.258 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00171/0.3515, allocations: 232 kB / 0.4948 GB, free: 5.031 MB / 382.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.0002588/0.3518, allocations: 123.2 kB / 0.4949 GB, free: 4.902 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003939/0.3558, allocations: 1.405 MB / 0.4962 GB, free: 3.461 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/0.3558, allocations: 4.188 kB / 0.4962 GB, free: 3.457 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.3568, allocations: 466.3 kB / 0.4967 GB, free: 2.992 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005929/0.3628, allocations: 146.5 kB / 0.4968 GB, free: 2.852 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006396/0.3692, allocations: 2.469 MB / 0.4992 GB, free: 332 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/0.3706, allocations: 1.114 MB / 0.5003 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004029/0.371, allocations: 71.42 kB / 0.5004 GB, free: 15.12 MB / 398.1 MB Notification: Performance of SimCode: time 3.457e-06/0.3711, allocations: 0 / 0.5004 GB, free: 15.12 MB / 398.1 MB Notification: Performance of Templates: time 0.06512/0.4362, allocations: 13.93 MB / 0.514 GB, free: 1.199 MB / 398.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1)