Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001545/0.001545, allocations: 182.2 kB / 15.76 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.968/1.968, allocations: 205.4 MB / 221.9 MB, free: 13.75 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001111/0.00111, allocations: 102.7 kB / 270.2 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2588/0.2588, allocations: 38.07 MB / 356.6 MB, free: 0.7734 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000485/0.0004853, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1084, allocations: 56.32 MB / 479 MB, free: 2.039 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4792/0.5876, allocations: 100.3 MB / 0.5657 GB, free: 15.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003346/0.588, allocations: 99.75 kB / 0.5658 GB, free: 15.42 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06277/0.6508, allocations: 14.09 MB / 0.5796 GB, free: 3.285 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.6509, allocations: 0 / 0.5796 GB, free: 3.285 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.137e-05/0.6509, allocations: 12 kB / 0.5796 GB, free: 3.273 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.002907/0.6538, allocations: 0.9673 MB / 0.5805 GB, free: 2.301 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.6539, allocations: 8.031 kB / 0.5806 GB, free: 2.293 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002862/0.6542, allocations: 75.11 kB / 0.5806 GB, free: 2.219 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004438/0.6587, allocations: 1.121 MB / 0.5817 GB, free: 1.246 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002676/0.659, allocations: 117.5 kB / 0.5818 GB, free: 1.137 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/0.6592, allocations: 62.27 kB / 0.5819 GB, free: 1.094 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002278/0.6615, allocations: 0.7852 MB / 0.5827 GB, free: 500 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/0.6615, allocations: 4 kB / 0.5827 GB, free: 496 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.865e-05/0.6616, allocations: 21.06 kB / 0.5827 GB, free: 492 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.6617, allocations: 15.95 kB / 0.5827 GB, free: 476 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00251/0.6642, allocations: 0.7081 MB / 0.5834 GB, free: 15.95 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.007173/0.6714, allocations: 2.751 MB / 0.5861 GB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003257/0.6747, allocations: 0.9151 MB / 0.587 GB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.175e-05/0.6748, allocations: 8 kB / 0.587 GB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/0.6748, allocations: 41.69 kB / 0.587 GB, free: 12.76 MB / 394.7 MB Notification: Performance of pre-optimization done (n=38): time 2.935e-06/0.6748, allocations: 0 / 0.587 GB, free: 12.76 MB / 394.7 MB Notification: Performance of matching and sorting (n=39): time 0.006562/0.6814, allocations: 1.989 MB / 0.589 GB, free: 11.01 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.6815, allocations: 85.11 kB / 0.589 GB, free: 10.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007096/0.6822, allocations: 370.2 kB / 0.5894 GB, free: 10.6 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.409e-05/0.6823, allocations: 32.77 kB / 0.5894 GB, free: 10.57 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002624/0.6826, allocations: 354.1 kB / 0.5898 GB, free: 10.29 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/0.6828, allocations: 134.2 kB / 0.5899 GB, free: 10.18 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/0.6829, allocations: 11.38 kB / 0.5899 GB, free: 10.18 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.683, allocations: 325.2 kB / 0.5902 GB, free: 9.855 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008898/0.6839, allocations: 247.8 kB / 0.5904 GB, free: 9.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009726/0.6849, allocations: 372.7 kB / 0.5908 GB, free: 9.348 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009542/0.6859, allocations: 271 kB / 0.5911 GB, free: 9.164 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.6859, allocations: 0 / 0.5911 GB, free: 9.164 MB / 394.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002426/0.6884, allocations: 0.7789 MB / 0.5918 GB, free: 8.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.6884, allocations: 4 kB / 0.5918 GB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.6884, allocations: 4 kB / 0.5918 GB, free: 8.512 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003141/0.6887, allocations: 70.86 kB / 0.5919 GB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00303/0.6918, allocations: 378 kB / 0.5923 GB, free: 8.082 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009241/0.7011, allocations: 6.166 MB / 0.5983 GB, free: 1.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000753/0.7018, allocations: 47.23 kB / 0.5983 GB, free: 1.641 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-05/0.7019, allocations: 19.5 kB / 0.5983 GB, free: 1.625 MB / 394.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 (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.0005509/0.7025, allocations: 231.6 kB / 0.5986 GB, free: 1.438 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.7026, allocations: 51.34 kB / 0.5986 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002348/0.705, allocations: 0.7435 MB / 0.5993 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.705, allocations: 4 kB / 0.5993 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.705, allocations: 0 / 0.5993 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.7051, allocations: 4 kB / 0.5993 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004352/0.7094, allocations: 1.521 MB / 0.6008 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.7095, allocations: 7.922 kB / 0.6008 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003405/0.7129, allocations: 395.6 kB / 0.6012 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003548/0.7133, allocations: 73.42 kB / 0.6013 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.937e-05/0.7133, allocations: 11.56 kB / 0.6013 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003136/0.7165, allocations: 2.858 MB / 0.6041 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.7165, allocations: 0 / 0.6041 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00345/0.72, allocations: 1.185 MB / 0.6052 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002187/0.7203, allocations: 120.6 kB / 0.6054 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.7204, allocations: 10.06 kB / 0.6054 GB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005816/0.721, allocations: 35.2 kB / 0.6054 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/0.7211, allocations: 47.39 kB / 0.6054 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.284e-05/0.7212, allocations: 8 kB / 0.6055 GB, free: 10.83 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005127/0.7217, allocations: 292.8 kB / 0.6057 GB, free: 10.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.7217, allocations: 4 kB / 0.6057 GB, free: 10.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009529/0.7227, allocations: 143.9 kB / 0.6059 GB, free: 10.47 MB / 410.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 () * Number of clocked 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.0002518/0.723, allocations: 118.4 kB / 0.606 GB, free: 10.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004492/0.7275, allocations: 1.058 MB / 0.607 GB, free: 9.414 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.7275, allocations: 0 / 0.607 GB, free: 9.414 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003639/0.7312, allocations: 0.8126 MB / 0.6078 GB, free: 8.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.7323, allocations: 131.1 kB / 0.6079 GB, free: 8.562 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004002/0.7364, allocations: 1.776 MB / 0.6097 GB, free: 6.891 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007548/0.7372, allocations: 0.9569 MB / 0.6106 GB, free: 5.934 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002765/0.7375, allocations: 43.44 kB / 0.6106 GB, free: 5.891 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.7375, allocations: 0 / 0.6106 GB, free: 5.891 MB / 410.7 MB Notification: Performance of Templates: time 0.03653/0.774, allocations: 16.14 MB / 0.6264 GB, free: 5.824 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1)