Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.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.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001156/0.001156, allocations: 178.9 kB / 16.38 MB, free: 5.766 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.335/1.335, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001613/0.001613, allocations: 106.4 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1626/0.1626, allocations: 38 MB / 340.1 MB, free: 1.348 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003503, allocations: 16 kB / 403.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09182/0.09218, allocations: 53.22 MB / 457 MB, free: 15.57 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3058/0.398, allocations: 89.18 MB / 0.5334 GB, free: 6.031 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001916/0.3982, allocations: 95.42 kB / 0.5335 GB, free: 5.977 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01361/0.4118, allocations: 6.142 MB / 0.5395 GB, free: 0.6953 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.4118, allocations: 0 / 0.5395 GB, free: 0.6953 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.4119, allocations: 4 kB / 0.5395 GB, free: 0.6914 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005712/0.4124, allocations: 0.5366 MB / 0.54 GB, free: 132 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.4125, allocations: 12.02 kB / 0.54 GB, free: 120 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.354e-05/0.4125, allocations: 31.62 kB / 0.54 GB, free: 88 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/0.4143, allocations: 0.7677 MB / 0.5408 GB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.4143, allocations: 19.56 kB / 0.5408 GB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.062e-05/0.4144, allocations: 19.19 kB / 0.5408 GB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003673/0.4147, allocations: 265.7 kB / 0.5411 GB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4147, allocations: 352 / 0.5411 GB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.4148, allocations: 10.95 kB / 0.5411 GB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.4148, allocations: 12 kB / 0.5411 GB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002442/0.415, allocations: 157.7 kB / 0.5413 GB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.4162, allocations: 1.176 MB / 0.5424 GB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.4164, allocations: 74.42 kB / 0.5425 GB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.4164, allocations: 0 / 0.5425 GB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.4164, allocations: 37.5 kB / 0.5425 GB, free: 13.74 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.4164, allocations: 0 / 0.5425 GB, free: 13.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006257/0.4171, allocations: 414.7 kB / 0.5429 GB, free: 13.31 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.4171, allocations: 81.11 kB / 0.543 GB, free: 13.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.4173, allocations: 223.5 kB / 0.5432 GB, free: 13.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.4174, allocations: 25.83 kB / 0.5432 GB, free: 12.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.4175, allocations: 191.1 kB / 0.5434 GB, free: 12.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.4175, allocations: 27.14 kB / 0.5434 GB, free: 12.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-06/0.4175, allocations: 3.375 kB / 0.5434 GB, free: 12.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.4176, allocations: 329.5 kB / 0.5437 GB, free: 12.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.588e-05/0.4177, allocations: 27.23 kB / 0.5438 GB, free: 12.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.4178, allocations: 120 kB / 0.5439 GB, free: 12.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.813e-05/0.4179, allocations: 46.62 kB / 0.5439 GB, free: 12.29 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.4179, allocations: 0 / 0.5439 GB, free: 12.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002521/0.4182, allocations: 187.2 kB / 0.5441 GB, free: 12.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.4182, allocations: 8 kB / 0.5441 GB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.4182, allocations: 4 kB / 0.5441 GB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.4182, allocations: 4 kB / 0.5441 GB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.4184, allocations: 51.09 kB / 0.5442 GB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.4184, allocations: 11.89 kB / 0.5442 GB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.21e-05/0.4185, allocations: 6.75 kB / 0.5442 GB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.4185, allocations: 8.312 kB / 0.5442 GB, free: 12.04 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 (22): * Single equations (assignments): 22 * 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.000118/0.4186, allocations: 154.1 kB / 0.5443 GB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.4187, allocations: 19.72 kB / 0.5444 GB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.4188, allocations: 95.12 kB / 0.5445 GB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.4188, allocations: 4 kB / 0.5445 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.4188, allocations: 0 / 0.5445 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.4188, allocations: 3.953 kB / 0.5445 GB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003944/0.4192, allocations: 421.3 kB / 0.5449 GB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4193, allocations: 4.031 kB / 0.5449 GB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.047e-05/0.4194, allocations: 16.42 kB / 0.5449 GB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.4194, allocations: 7.938 kB / 0.5449 GB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.4194, allocations: 0 / 0.5449 GB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.4194, allocations: 7.953 kB / 0.5449 GB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4194, allocations: 0 / 0.5449 GB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002197/0.4196, allocations: 254.8 kB / 0.5451 GB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.461e-05/0.4197, allocations: 95.91 kB / 0.5452 GB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.4197, allocations: 4 kB / 0.5452 GB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.486e-05/0.4198, allocations: 3.984 kB / 0.5452 GB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.999e-05/0.4198, allocations: 11.48 kB / 0.5453 GB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.4199, allocations: 4 kB / 0.5453 GB, free: 10.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001441/0.42, allocations: 165.8 kB / 0.5454 GB, free: 10.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.42, allocations: 4.062 kB / 0.5454 GB, free: 10.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002809/0.4203, allocations: 43.36 kB / 0.5455 GB, free: 10.77 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 (9): * Single equations (assignments): 8 * 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 9.202e-05/0.4204, allocations: 95.25 kB / 0.5456 GB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001492/0.4206, allocations: 88.78 kB / 0.5456 GB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.4206, allocations: 0.875 kB / 0.5456 GB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.146e-05/0.4206, allocations: 30.97 kB / 0.5457 GB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.4209, allocations: 51.98 kB / 0.5457 GB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007633/0.4217, allocations: 0.6316 MB / 0.5463 GB, free: 9.891 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.422, allocations: 0.7596 MB / 0.5471 GB, free: 9.105 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001027/0.4221, allocations: 30.28 kB / 0.5471 GB, free: 9.074 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.4222, allocations: 19.53 kB / 0.5471 GB, free: 9.055 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4222, allocations: 3.938 kB / 0.5471 GB, free: 9.051 MB / 362.7 MB Notification: Performance of Templates: time 0.003874/0.4261, allocations: 1.61 MB / 0.5487 GB, free: 7.449 MB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1)