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.00165/0.00165, allocations: 188.2 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.403/1.403, allocations: 194.3 MB / 203.1 MB, free: 9.312 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001722/0.001722, allocations: 112.9 kB / 248.1 MB, free: 6.344 MB / 203.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1671/0.1671, allocations: 37.93 MB / 330.9 MB, free: 7.309 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 1.696e-05/1.697e-05, allocations: 4 kB / 390.4 MB, free: 78.23 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08067/0.0807, allocations: 53.24 MB / 443.6 MB, free: 25.09 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4001/0.4808, allocations: 94.22 MB / 0.5252 GB, free: 9.668 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.4811, allocations: 88.64 kB / 0.5253 GB, free: 9.652 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03564/0.5168, allocations: 11.37 MB / 0.5364 GB, free: 3.699 MB / 347.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.5168, allocations: 4 kB / 0.5364 GB, free: 3.695 MB / 347.1 MB Notification: Performance of Transformations before backend: time 3.152e-05/0.5168, allocations: 8 kB / 0.5364 GB, free: 3.688 MB / 347.1 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.001157/0.518, allocations: 0.7664 MB / 0.5372 GB, free: 2.906 MB / 347.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.5181, allocations: 8.031 kB / 0.5372 GB, free: 2.898 MB / 347.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001305/0.5182, allocations: 59.25 kB / 0.5372 GB, free: 2.84 MB / 347.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003396/0.5216, allocations: 1.209 MB / 0.5384 GB, free: 1.805 MB / 347.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.5216, allocations: 16 kB / 0.5384 GB, free: 1.789 MB / 347.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.216e-05/0.5217, allocations: 24.69 kB / 0.5384 GB, free: 1.766 MB / 347.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006958/0.5224, allocations: 348.7 kB / 0.5388 GB, free: 1.531 MB / 347.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008954/0.5233, allocations: 485.9 kB / 0.5392 GB, free: 1.125 MB / 347.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.5234, allocations: 0 / 0.5392 GB, free: 1.125 MB / 347.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.834e-05/0.5234, allocations: 0 / 0.5392 GB, free: 1.125 MB / 347.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.541e-05/0.5235, allocations: 24.77 kB / 0.5393 GB, free: 1.102 MB / 347.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002531/0.526, allocations: 1.855 MB / 0.5411 GB, free: 15.41 MB / 363.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006797/0.5267, allocations: 312.9 kB / 0.5414 GB, free: 15.18 MB / 363.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003842/0.5271, allocations: 167.7 kB / 0.5415 GB, free: 15.06 MB / 363.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.593e-05/0.5272, allocations: 4 kB / 0.5415 GB, free: 15.06 MB / 363.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004912/0.5277, allocations: 268.2 kB / 0.5418 GB, free: 14.81 MB / 363.1 MB Notification: Performance of pre-optimization done (n=35): time 4.459e-06/0.5277, allocations: 4 kB / 0.5418 GB, free: 14.8 MB / 363.1 MB Notification: Performance of matching and sorting (n=36): time 0.001928/0.5296, allocations: 0.9081 MB / 0.5427 GB, free: 13.98 MB / 363.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.625e-05/0.5297, allocations: 169.8 kB / 0.5428 GB, free: 13.78 MB / 363.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004652/0.5302, allocations: 322.9 kB / 0.5432 GB, free: 13.52 MB / 363.1 MB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.5303, allocations: 28.39 kB / 0.5432 GB, free: 13.49 MB / 363.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/0.5305, allocations: 292.8 kB / 0.5435 GB, free: 13.27 MB / 363.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.5306, allocations: 116.9 kB / 0.5436 GB, free: 13.17 MB / 363.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.173e-05/0.5307, allocations: 4.031 kB / 0.5436 GB, free: 13.17 MB / 363.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.5308, allocations: 357.9 kB / 0.5439 GB, free: 12.83 MB / 363.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002371/0.5311, allocations: 103.3 kB / 0.544 GB, free: 12.76 MB / 363.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003614/0.5314, allocations: 267 kB / 0.5443 GB, free: 12.48 MB / 363.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/0.5317, allocations: 154.7 kB / 0.5444 GB, free: 12.37 MB / 363.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.5318, allocations: 4 kB / 0.5444 GB, free: 12.36 MB / 363.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008882/0.5327, allocations: 431.6 kB / 0.5448 GB, free: 12.01 MB / 363.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.354e-05/0.5327, allocations: 37.69 kB / 0.5449 GB, free: 11.97 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.5327, allocations: 7.984 kB / 0.5449 GB, free: 11.96 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.5328, allocations: 8 kB / 0.5449 GB, free: 11.95 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005896/0.5334, allocations: 107.6 kB / 0.545 GB, free: 11.85 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.063e-05/0.5334, allocations: 15.92 kB / 0.545 GB, free: 11.84 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003697/0.5338, allocations: 24.3 kB / 0.545 GB, free: 11.81 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.46e-05/0.5339, allocations: 27.73 kB / 0.5451 GB, free: 11.79 MB / 363.1 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.00017/0.534, allocations: 158.2 kB / 0.5452 GB, free: 11.62 MB / 363.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.219e-05/0.5341, allocations: 47.39 kB / 0.5452 GB, free: 11.58 MB / 363.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008148/0.535, allocations: 377.2 kB / 0.5456 GB, free: 11.3 MB / 363.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/0.535, allocations: 7.984 kB / 0.5456 GB, free: 11.29 MB / 363.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.535, allocations: 0 / 0.5456 GB, free: 11.29 MB / 363.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.535, allocations: 4 kB / 0.5456 GB, free: 11.29 MB / 363.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.5364, allocations: 0.8239 MB / 0.5464 GB, free: 10.59 MB / 363.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.5364, allocations: 0 / 0.5464 GB, free: 10.59 MB / 363.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004439/0.5369, allocations: 67.89 kB / 0.5465 GB, free: 10.52 MB / 363.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.5369, allocations: 0 / 0.5465 GB, free: 10.52 MB / 363.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.568e-05/0.537, allocations: 7.938 kB / 0.5465 GB, free: 10.51 MB / 363.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.537, allocations: 4 kB / 0.5465 GB, free: 10.51 MB / 363.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.537, allocations: 64 / 0.5465 GB, free: 10.51 MB / 363.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001152/0.5381, allocations: 0.677 MB / 0.5472 GB, free: 9.941 MB / 363.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/0.5384, allocations: 140.4 kB / 0.5473 GB, free: 9.793 MB / 363.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.125e-05/0.5385, allocations: 4 kB / 0.5473 GB, free: 9.789 MB / 363.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003203/0.5388, allocations: 16.05 kB / 0.5473 GB, free: 9.773 MB / 363.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.576e-05/0.5389, allocations: 23.19 kB / 0.5473 GB, free: 9.758 MB / 363.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.595e-05/0.539, allocations: 35.84 kB / 0.5474 GB, free: 9.727 MB / 363.1 MB Notification: Performance of sorting global known variables: time 0.0003203/0.5393, allocations: 252.6 kB / 0.5476 GB, free: 9.531 MB / 363.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.5393, allocations: 0 / 0.5476 GB, free: 9.531 MB / 363.1 MB Notification: Performance of remove unused functions: time 0.0007319/0.54, allocations: 96 kB / 0.5477 GB, free: 9.438 MB / 363.1 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.0002537/0.5403, allocations: 143 kB / 0.5478 GB, free: 9.293 MB / 363.1 MB Notification: Performance of simCode: created initialization part: time 0.0006854/0.541, allocations: 370.4 kB / 0.5482 GB, free: 9 MB / 363.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.541, allocations: 448 / 0.5482 GB, free: 9 MB / 363.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003711/0.5414, allocations: 249.3 kB / 0.5484 GB, free: 8.809 MB / 363.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006657/0.5421, allocations: 83.05 kB / 0.5485 GB, free: 8.75 MB / 363.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.5438, allocations: 0.6843 MB / 0.5492 GB, free: 8.109 MB / 363.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006049/0.5444, allocations: 0.9016 MB / 0.5501 GB, free: 7.195 MB / 363.1 MB Notification: Performance of simCode: alias equations: time 0.0004627/0.5449, allocations: 96.42 kB / 0.5501 GB, free: 7.102 MB / 363.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.545, allocations: 35.44 kB / 0.5502 GB, free: 7.066 MB / 363.1 MB Notification: Performance of SimCode: time 4e-07/0.545, allocations: 0 / 0.5502 GB, free: 7.066 MB / 363.1 MB Notification: Performance of Templates: time 0.01155/0.5566, allocations: 3.788 MB / 0.5539 GB, free: 3.324 MB / 363.1 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)