Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.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.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001712/0.001712, allocations: 182.7 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.42/1.42, allocations: 194.3 MB / 208.4 MB, free: 6.703 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.001574/0.001574, allocations: 122.2 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1881/0.1881, allocations: 37.91 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.487e-05/4.499e-05, allocations: 4 kB / 397.5 MB, free: 1.047 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2634, allocations: 53.23 MB / 450.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.333/0.5965, allocations: 95.1 MB / 0.5331 GB, free: 87.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.5968, allocations: 90.27 kB / 0.5332 GB, free: 87.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03788/0.6347, allocations: 14.07 MB / 0.5469 GB, free: 82.16 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.6348, allocations: 0 / 0.5469 GB, free: 82.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.325e-05/0.6348, allocations: 19.94 kB / 0.5469 GB, free: 82.14 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001378/0.6362, allocations: 0.8769 MB / 0.5478 GB, free: 81.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.6362, allocations: 11.97 kB / 0.5478 GB, free: 81.21 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.6364, allocations: 75.06 kB / 0.5479 GB, free: 81.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002334/0.6387, allocations: 1.101 MB / 0.5489 GB, free: 79.99 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.6389, allocations: 117.4 kB / 0.549 GB, free: 79.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.229e-05/0.639, allocations: 56 kB / 0.5491 GB, free: 79.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009593/0.64, allocations: 0.7403 MB / 0.5498 GB, free: 79.03 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.64, allocations: 3.984 kB / 0.5498 GB, free: 79.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.064e-05/0.6401, allocations: 32 kB / 0.5499 GB, free: 78.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.6401, allocations: 12 kB / 0.5499 GB, free: 78.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007934/0.6409, allocations: 0.5895 MB / 0.5504 GB, free: 78.39 MB / 378.7 MB Warning: The model contains alias variables with conflicting start and/or 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.003297/0.6442, allocations: 2.736 MB / 0.5531 GB, free: 75.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009679/0.6452, allocations: 0.7529 MB / 0.5538 GB, free: 74.74 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/0.6455, allocations: 285.7 kB / 0.5541 GB, free: 74.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.524e-05/0.6455, allocations: 15.92 kB / 0.5541 GB, free: 74.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.6455, allocations: 42.5 kB / 0.5542 GB, free: 74.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 2.465e-06/0.6455, allocations: 0 / 0.5542 GB, free: 74.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.001698/0.6473, allocations: 1.345 MB / 0.5555 GB, free: 72.96 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.6473, allocations: 89.12 kB / 0.5556 GB, free: 72.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/0.6476, allocations: 367.1 kB / 0.5559 GB, free: 72.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.6477, allocations: 33.64 kB / 0.556 GB, free: 72.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.6478, allocations: 320.2 kB / 0.5563 GB, free: 72.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.118e-05/0.6479, allocations: 138 kB / 0.5564 GB, free: 72 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.172e-05/0.6479, allocations: 12 kB / 0.5564 GB, free: 71.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.763e-05/0.648, allocations: 362.7 kB / 0.5568 GB, free: 71.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.6482, allocations: 189 kB / 0.5569 GB, free: 71.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002638/0.6485, allocations: 306.4 kB / 0.5572 GB, free: 71.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002704/0.6488, allocations: 219.8 kB / 0.5574 GB, free: 70.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6488, allocations: 0 / 0.5574 GB, free: 70.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007939/0.6496, allocations: 0.6906 MB / 0.5581 GB, free: 70.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.6496, allocations: 11.98 kB / 0.5581 GB, free: 70.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.6496, allocations: 0 / 0.5581 GB, free: 70.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002017/0.6498, allocations: 65.62 kB / 0.5582 GB, free: 70.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/0.6513, allocations: 371.7 kB / 0.5585 GB, free: 69.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003337/0.6546, allocations: 5.862 MB / 0.5643 GB, free: 63.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/0.655, allocations: 40.12 kB / 0.5643 GB, free: 63.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.668e-05/0.655, allocations: 23.98 kB / 0.5643 GB, free: 63.26 MB / 378.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.6551, allocations: 132.8 kB / 0.5644 GB, free: 63.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.878e-05/0.6552, allocations: 47.44 kB / 0.5645 GB, free: 63.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007832/0.656, allocations: 0.6335 MB / 0.5651 GB, free: 62.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.656, allocations: 8 kB / 0.5651 GB, free: 62.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.656, allocations: 0 / 0.5651 GB, free: 62.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.79e-06/0.656, allocations: 3.984 kB / 0.5651 GB, free: 62.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/0.6578, allocations: 1.416 MB / 0.5665 GB, free: 60.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.6578, allocations: 0 / 0.5665 GB, free: 60.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001593/0.6594, allocations: 399.6 kB / 0.5669 GB, free: 60.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001583/0.6595, allocations: 65.61 kB / 0.567 GB, free: 60.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.259e-05/0.6596, allocations: 12 kB / 0.567 GB, free: 60.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001354/0.661, allocations: 2.837 MB / 0.5697 GB, free: 57.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.661, allocations: 3.953 kB / 0.5697 GB, free: 57.31 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.662, allocations: 1.021 MB / 0.5707 GB, free: 56.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.96e-05/0.6621, allocations: 116.5 kB / 0.5708 GB, free: 56.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.032e-05/0.6621, allocations: 16.03 kB / 0.5709 GB, free: 56.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000322/0.6625, allocations: 35.97 kB / 0.5709 GB, free: 56.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.6626, allocations: 39.89 kB / 0.5709 GB, free: 56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.797e-05/0.6626, allocations: 16 kB / 0.5709 GB, free: 55.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002441/0.6629, allocations: 289.2 kB / 0.5712 GB, free: 55.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6629, allocations: 0 / 0.5712 GB, free: 55.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005612/0.6634, allocations: 143.9 kB / 0.5714 GB, free: 55.56 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001669/0.6636, allocations: 123.9 kB / 0.5715 GB, free: 55.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001846/0.6655, allocations: 0.9462 MB / 0.5724 GB, free: 54.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6655, allocations: 3.938 kB / 0.5724 GB, free: 54.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001595/0.6671, allocations: 0.7632 MB / 0.5732 GB, free: 53.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005815/0.6677, allocations: 130.1 kB / 0.5733 GB, free: 53.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.6691, allocations: 1.094 MB / 0.5743 GB, free: 52.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.6695, allocations: 0.9562 MB / 0.5753 GB, free: 51.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002888/0.6698, allocations: 96.55 kB / 0.5754 GB, free: 51.33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.6699, allocations: 39.44 kB / 0.5754 GB, free: 51.29 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.6699, allocations: 0 / 0.5754 GB, free: 51.29 MB / 378.7 MB Notification: Performance of Templates: time 0.01061/0.6805, allocations: 7.1 MB / 0.5823 GB, free: 44.21 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1)