Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001064/0.001064, allocations: 179.4 kB / 17.4 MB, free: 4.414 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.588/1.588, allocations: 194.5 MB / 212.6 MB, free: 2.859 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.001632/0.001632, allocations: 114 kB / 257.9 MB, free: 4.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.188/0.188, allocations: 38.01 MB / 341.1 MB, free: 1.168 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004029/0.0004028, allocations: 12 kB / 405 MB, free: 68.48 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.106, allocations: 53.25 MB / 458.3 MB, free: 15.22 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3599/0.466, allocations: 89.82 MB / 0.5352 GB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/0.4663, allocations: 97.92 kB / 0.5353 GB, free: 4.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01709/0.4834, allocations: 6.596 MB / 0.5418 GB, free: 15.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.634e-06/0.4835, allocations: 0 / 0.5418 GB, free: 15.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.477e-05/0.4835, allocations: 8 kB / 0.5418 GB, free: 15.25 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001181/0.4847, allocations: 0.5702 MB / 0.5423 GB, free: 14.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.4848, allocations: 8.031 kB / 0.5424 GB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.4849, allocations: 32.56 kB / 0.5424 GB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009562/0.4859, allocations: 481.7 kB / 0.5428 GB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.4859, allocations: 22.88 kB / 0.5429 GB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.327e-05/0.486, allocations: 22.75 kB / 0.5429 GB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004924/0.4865, allocations: 292.7 kB / 0.5432 GB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.4865, allocations: 4 kB / 0.5432 GB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.4865, allocations: 5.375 kB / 0.5432 GB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.4866, allocations: 8 kB / 0.5432 GB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003379/0.4869, allocations: 183.2 kB / 0.5434 GB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/0.4886, allocations: 1.221 MB / 0.5446 GB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003388/0.489, allocations: 114.6 kB / 0.5447 GB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.991e-05/0.4891, allocations: 43.14 kB / 0.5447 GB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.4891, allocations: 7.922 kB / 0.5447 GB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.4891, allocations: 34.56 kB / 0.5447 GB, free: 12.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 2.304e-06/0.4891, allocations: 0 / 0.5447 GB, free: 12.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009855/0.4901, allocations: 485 kB / 0.5452 GB, free: 11.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.4902, allocations: 77.11 kB / 0.5453 GB, free: 11.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.4905, allocations: 254.7 kB / 0.5455 GB, free: 11.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.4905, allocations: 25.7 kB / 0.5455 GB, free: 11.55 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.4906, allocations: 195.9 kB / 0.5457 GB, free: 11.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.4907, allocations: 37.98 kB / 0.5458 GB, free: 11.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.212e-05/0.4907, allocations: 7.875 kB / 0.5458 GB, free: 11.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.4908, allocations: 344.4 kB / 0.5461 GB, free: 11.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.017e-05/0.4909, allocations: 33.73 kB / 0.5461 GB, free: 11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.491, allocations: 133 kB / 0.5463 GB, free: 10.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.4913, allocations: 184.5 kB / 0.5464 GB, free: 10.65 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4913, allocations: 8 kB / 0.5464 GB, free: 10.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003226/0.4916, allocations: 199.6 kB / 0.5466 GB, free: 10.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.4917, allocations: 8 kB / 0.5466 GB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.4917, allocations: 8.422 kB / 0.5467 GB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.4917, allocations: 8 kB / 0.5467 GB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.4919, allocations: 43.92 kB / 0.5467 GB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.4919, allocations: 7.938 kB / 0.5467 GB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.492, allocations: 11.59 kB / 0.5467 GB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.492, allocations: 11 kB / 0.5467 GB, free: 10.39 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * 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.0001727/0.4922, allocations: 156.9 kB / 0.5469 GB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.838e-05/0.4923, allocations: 15.81 kB / 0.5469 GB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.4926, allocations: 134.3 kB / 0.547 GB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.4926, allocations: 4 kB / 0.547 GB, free: 10.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.4926, allocations: 11.94 kB / 0.547 GB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.4926, allocations: 0 / 0.547 GB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005738/0.4932, allocations: 478.7 kB / 0.5475 GB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.4932, allocations: 0 / 0.5475 GB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.4933, allocations: 23.98 kB / 0.5475 GB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.4934, allocations: 0 / 0.5475 GB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.4934, allocations: 4 kB / 0.5475 GB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.4934, allocations: 3.938 kB / 0.5475 GB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.4934, allocations: 7.969 kB / 0.5475 GB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000348/0.4938, allocations: 275 kB / 0.5478 GB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.613e-05/0.4939, allocations: 100.8 kB / 0.5479 GB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.284e-05/0.4939, allocations: 3.984 kB / 0.5479 GB, free: 9.246 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.494, allocations: 7.062 kB / 0.5479 GB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/0.4941, allocations: 15.94 kB / 0.5479 GB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.4941, allocations: 11.86 kB / 0.5479 GB, free: 9.219 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001498/0.4942, allocations: 163.7 kB / 0.5481 GB, free: 9.082 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.954e-06/0.4942, allocations: 0 / 0.5481 GB, free: 9.082 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003336/0.4946, allocations: 55.44 kB / 0.5481 GB, free: 9.035 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.000139/0.4947, allocations: 99.33 kB / 0.5482 GB, free: 8.926 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.495, allocations: 114.6 kB / 0.5483 GB, free: 8.836 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.495, allocations: 0 / 0.5483 GB, free: 8.836 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.451e-05/0.495, allocations: 42.17 kB / 0.5484 GB, free: 8.805 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004804/0.4955, allocations: 56.45 kB / 0.5484 GB, free: 8.766 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.4966, allocations: 0.6794 MB / 0.5491 GB, free: 8.082 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.4969, allocations: 0.7736 MB / 0.5499 GB, free: 7.285 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001588/0.4971, allocations: 34.27 kB / 0.5499 GB, free: 7.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.276e-05/0.4971, allocations: 19.44 kB / 0.5499 GB, free: 7.23 MB / 362.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4971, allocations: 0 / 0.5499 GB, free: 7.23 MB / 362.7 MB Notification: Performance of Templates: time 0.005649/0.5028, allocations: 1.867 MB / 0.5517 GB, free: 5.379 MB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1)