Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002073/0.002073, allocations: 182.3 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.435/1.435, allocations: 194.2 MB / 208.4 MB, free: 6.715 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001583/0.001584, allocations: 124.6 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1557/0.1557, allocations: 37.91 MB / 336.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.525e-05/3.527e-05, allocations: 4 kB / 397.5 MB, free: 1.043 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2548, allocations: 53.22 MB / 450.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3316/0.5864, allocations: 94.89 MB / 0.5329 GB, free: 32.05 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.5867, allocations: 87.7 kB / 0.5329 GB, free: 32.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03039/0.6171, allocations: 11.5 MB / 0.5442 GB, free: 30.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.6171, allocations: 3.906 kB / 0.5442 GB, free: 30.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.857e-05/0.6172, allocations: 7.812 kB / 0.5442 GB, free: 30.57 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001006/0.6182, allocations: 0.7636 MB / 0.5449 GB, free: 30.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.6182, allocations: 7.812 kB / 0.5449 GB, free: 30.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001055/0.6183, allocations: 62.5 kB / 0.545 GB, free: 30.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002833/0.6212, allocations: 1.211 MB / 0.5462 GB, free: 29.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/0.6212, allocations: 31.03 kB / 0.5462 GB, free: 29.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.63e-05/0.6213, allocations: 41.94 kB / 0.5463 GB, free: 29.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007512/0.6221, allocations: 0.517 MB / 0.5468 GB, free: 29.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.6221, allocations: 3.953 kB / 0.5468 GB, free: 29.56 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.331e-05/0.6221, allocations: 25.88 kB / 0.5468 GB, free: 29.56 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.17e-05/0.6222, allocations: 16.44 kB / 0.5468 GB, free: 29.56 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005017/0.6227, allocations: 379.6 kB / 0.5472 GB, free: 29.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002096/0.6248, allocations: 1.938 MB / 0.5491 GB, free: 28.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005783/0.6254, allocations: 320.1 kB / 0.5494 GB, free: 28.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/0.6257, allocations: 179.9 kB / 0.5495 GB, free: 28.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.6257, allocations: 2.875 kB / 0.5495 GB, free: 28.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000312/0.626, allocations: 276.6 kB / 0.5498 GB, free: 28.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 3.496e-06/0.6261, allocations: 1.531 kB / 0.5498 GB, free: 28.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.001401/0.6275, allocations: 1.065 MB / 0.5508 GB, free: 27.69 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.6275, allocations: 169.3 kB / 0.551 GB, free: 27.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/0.6279, allocations: 339.8 kB / 0.5513 GB, free: 27.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.6279, allocations: 36.69 kB / 0.5514 GB, free: 27.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.628, allocations: 289.3 kB / 0.5516 GB, free: 27.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.143e-05/0.6281, allocations: 115.2 kB / 0.5517 GB, free: 27.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.753e-05/0.6281, allocations: 11.59 kB / 0.5518 GB, free: 27.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.761e-05/0.6282, allocations: 361.5 kB / 0.5521 GB, free: 26.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.6284, allocations: 118.9 kB / 0.5522 GB, free: 26.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.6286, allocations: 276.4 kB / 0.5525 GB, free: 26.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.6288, allocations: 188.6 kB / 0.5527 GB, free: 26.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.6288, allocations: 0 / 0.5527 GB, free: 26.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0005678/0.6294, allocations: 0.506 MB / 0.5532 GB, free: 26.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/0.6294, allocations: 36.66 kB / 0.5532 GB, free: 26.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.6295, allocations: 7.844 kB / 0.5532 GB, free: 26.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.6295, allocations: 11.72 kB / 0.5532 GB, free: 26.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003772/0.6299, allocations: 105.8 kB / 0.5533 GB, free: 26.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.6299, allocations: 10.86 kB / 0.5533 GB, free: 26.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002543/0.6302, allocations: 30.64 kB / 0.5533 GB, free: 26.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.265e-05/0.6302, allocations: 30.67 kB / 0.5534 GB, free: 26.37 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.6303, allocations: 181.9 kB / 0.5536 GB, free: 26.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.6304, allocations: 46.11 kB / 0.5536 GB, free: 26.19 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005724/0.631, allocations: 444.4 kB / 0.554 GB, free: 26.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.631, allocations: 3.906 kB / 0.554 GB, free: 26.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.631, allocations: 4 kB / 0.554 GB, free: 26.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.631, allocations: 3 kB / 0.554 GB, free: 26.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009746/0.632, allocations: 0.9375 MB / 0.5549 GB, free: 25.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.632, allocations: 7.203 kB / 0.555 GB, free: 25.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002806/0.6323, allocations: 61.36 kB / 0.555 GB, free: 25.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.6323, allocations: 7.297 kB / 0.555 GB, free: 25.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.6323, allocations: 7.75 kB / 0.555 GB, free: 25.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.6323, allocations: 7.938 kB / 0.555 GB, free: 25.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.6323, allocations: 0 / 0.555 GB, free: 25.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007462/0.6331, allocations: 0.7161 MB / 0.5557 GB, free: 25.51 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.6332, allocations: 144.8 kB / 0.5559 GB, free: 25.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/0.6333, allocations: 19.62 kB / 0.5559 GB, free: 25.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.6335, allocations: 14.58 kB / 0.5559 GB, free: 25.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.994e-05/0.6336, allocations: 30.22 kB / 0.5559 GB, free: 25.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.335e-05/0.6336, allocations: 33.14 kB / 0.556 GB, free: 25.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002202/0.6338, allocations: 261.6 kB / 0.5562 GB, free: 25.29 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6339, allocations: 0 / 0.5562 GB, free: 25.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004329/0.6343, allocations: 119.6 kB / 0.5563 GB, free: 25.28 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002128/0.6345, allocations: 151.8 kB / 0.5565 GB, free: 25.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004497/0.635, allocations: 393.8 kB / 0.5568 GB, free: 25.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.635, allocations: 0 / 0.5568 GB, free: 25.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002311/0.6352, allocations: 259.8 kB / 0.5571 GB, free: 25.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004639/0.6357, allocations: 89.19 kB / 0.5572 GB, free: 25.01 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.6368, allocations: 0.7004 MB / 0.5579 GB, free: 24.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.6371, allocations: 0.9058 MB / 0.5587 GB, free: 24.04 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002817/0.6374, allocations: 97.05 kB / 0.5588 GB, free: 24.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.627e-05/0.6375, allocations: 34.56 kB / 0.5589 GB, free: 24 MB / 378.7 MB Notification: Performance of SimCode: time 4.61e-07/0.6375, allocations: 0 / 0.5589 GB, free: 24 MB / 378.7 MB Notification: Performance of Templates: time 0.007504/0.645, allocations: 4.318 MB / 0.5631 GB, free: 23.65 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1)