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.0009115/0.0009115, allocations: 183.8 kB / 8.354 MB, free: 0.7305 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.376/1.376, allocations: 194.3 MB / 203.1 MB, free: 13.02 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.001718/0.001718, allocations: 109.6 kB / 248.1 MB, free: 36 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1846/0.1846, allocations: 37.93 MB / 330.9 MB, free: 2.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.464e-05/1.458e-05, allocations: 4 kB / 390.4 MB, free: 7.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2313, allocations: 53.22 MB / 443.6 MB, free: 17.78 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1513/0.3826, allocations: 94.45 MB / 0.5254 GB, free: 3.195 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/0.383, allocations: 87.95 kB / 0.5255 GB, free: 3.109 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3019/0.6849, allocations: 13.92 MB / 0.5391 GB, free: 88.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.6849, allocations: 224 / 0.5391 GB, free: 88.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.042e-05/0.6849, allocations: 19.56 kB / 0.5391 GB, free: 88.73 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.001843/0.6868, allocations: 0.8863 MB / 0.54 GB, free: 88.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.6868, allocations: 9.125 kB / 0.54 GB, free: 88.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/0.6871, allocations: 77.31 kB / 0.5401 GB, free: 88.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00241/0.6895, allocations: 1.099 MB / 0.5411 GB, free: 87.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001308/0.6896, allocations: 102.2 kB / 0.5412 GB, free: 87.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.155e-05/0.6897, allocations: 39.2 kB / 0.5413 GB, free: 87.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008238/0.6906, allocations: 0.5465 MB / 0.5418 GB, free: 86.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008613/0.6914, allocations: 0.6631 MB / 0.5425 GB, free: 86.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.6915, allocations: 3.812 kB / 0.5425 GB, free: 86.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.165e-05/0.6915, allocations: 0 / 0.5425 GB, free: 86.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.6915, allocations: 13.16 kB / 0.5425 GB, free: 86.52 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.003407/0.695, allocations: 2.622 MB / 0.545 GB, free: 83.83 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009202/0.6959, allocations: 0.7339 MB / 0.5458 GB, free: 83.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/0.6962, allocations: 274.2 kB / 0.546 GB, free: 82.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.6962, allocations: 7.75 kB / 0.546 GB, free: 82.76 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/0.6962, allocations: 30.56 kB / 0.5461 GB, free: 82.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 1.763e-06/0.6962, allocations: 0 / 0.5461 GB, free: 82.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=39): time 0.00161/0.6979, allocations: 1.277 MB / 0.5473 GB, free: 81.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.6979, allocations: 81.11 kB / 0.5474 GB, free: 81.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/0.6982, allocations: 321.2 kB / 0.5477 GB, free: 80.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.6982, allocations: 25.7 kB / 0.5477 GB, free: 80.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.6984, allocations: 312.1 kB / 0.548 GB, free: 80.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.412e-05/0.6985, allocations: 142 kB / 0.5481 GB, free: 80.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/0.6985, allocations: 0 / 0.5481 GB, free: 80.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.452e-05/0.6986, allocations: 354.8 kB / 0.5485 GB, free: 80.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.6988, allocations: 185.6 kB / 0.5487 GB, free: 79.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.699, allocations: 289.3 kB / 0.5489 GB, free: 79.6 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.6993, allocations: 211.6 kB / 0.5491 GB, free: 79.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6993, allocations: 0 / 0.5491 GB, free: 79.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007058/0.7, allocations: 0.6476 MB / 0.5498 GB, free: 78.71 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.7, allocations: 4 kB / 0.5498 GB, free: 78.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.7, allocations: 11.88 kB / 0.5498 GB, free: 78.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001894/0.7002, allocations: 69.67 kB / 0.5498 GB, free: 78.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/0.7017, allocations: 371.9 kB / 0.5502 GB, free: 78.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003162/0.7049, allocations: 5.642 MB / 0.5557 GB, free: 72.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003743/0.7053, allocations: 40.02 kB / 0.5557 GB, free: 72.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.936e-05/0.7053, allocations: 16 kB / 0.5558 GB, free: 72.11 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.0001069/0.7054, allocations: 113.2 kB / 0.5559 GB, free: 71.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.925e-05/0.7055, allocations: 51.42 kB / 0.5559 GB, free: 71.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007866/0.7063, allocations: 0.6062 MB / 0.5565 GB, free: 71.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.7063, allocations: 4 kB / 0.5565 GB, free: 71.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.7063, allocations: 0 / 0.5565 GB, free: 71.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.7063, allocations: 0 / 0.5565 GB, free: 71.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001583/0.7079, allocations: 1.305 MB / 0.5578 GB, free: 69.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.7079, allocations: 4.062 kB / 0.5578 GB, free: 69.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001605/0.7095, allocations: 399.6 kB / 0.5582 GB, free: 69.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001603/0.7097, allocations: 73.61 kB / 0.5582 GB, free: 69.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.394e-05/0.7098, allocations: 7.984 kB / 0.5583 GB, free: 69.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/0.7111, allocations: 2.734 MB / 0.5609 GB, free: 66.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.7111, allocations: 0 / 0.5609 GB, free: 66.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009651/0.7121, allocations: 0.9854 MB / 0.5619 GB, free: 65.41 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.7122, allocations: 116.5 kB / 0.562 GB, free: 65.28 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/0.7124, allocations: 4 kB / 0.562 GB, free: 65.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003062/0.7127, allocations: 32 kB / 0.562 GB, free: 65.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.389e-05/0.7128, allocations: 47.89 kB / 0.5621 GB, free: 65.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.7128, allocations: 8 kB / 0.5621 GB, free: 65.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002011/0.713, allocations: 247 kB / 0.5623 GB, free: 64.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.713, allocations: 0 / 0.5623 GB, free: 64.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006538/0.7137, allocations: 127.9 kB / 0.5624 GB, free: 64.83 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.0001642/0.7139, allocations: 127 kB / 0.5626 GB, free: 64.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001779/0.7156, allocations: 0.9056 MB / 0.5634 GB, free: 63.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.7157, allocations: 4 kB / 0.5635 GB, free: 63.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001543/0.7172, allocations: 0.7417 MB / 0.5642 GB, free: 63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006071/0.7178, allocations: 105.8 kB / 0.5643 GB, free: 62.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.7196, allocations: 1.065 MB / 0.5653 GB, free: 61.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.72, allocations: 0.9526 MB / 0.5662 GB, free: 60.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003036/0.7203, allocations: 96.34 kB / 0.5663 GB, free: 60.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.7204, allocations: 35.44 kB / 0.5664 GB, free: 60.69 MB / 378.7 MB Notification: Performance of SimCode: time 7.31e-07/0.7204, allocations: 0 / 0.5664 GB, free: 60.69 MB / 378.7 MB Notification: Performance of Templates: time 0.01023/0.7306, allocations: 6.046 MB / 0.5723 GB, free: 54.66 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)